org.springframework.integration.annotation.Gateway.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(195)

本文整理了Java中org.springframework.integration.annotation.Gateway.<init>()方法的一些代码示例,展示了Gateway.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Gateway.<init>()方法的具体详情如下:
包路径:org.springframework.integration.annotation.Gateway
类名称:Gateway
方法名:<init>

Gateway.<init>介绍

暂无

代码示例

代码示例来源:origin: spring-cloud/spring-cloud-sleuth

@Gateway(requestChannel = "messages")
void send(String message);

代码示例来源:origin: spring-cloud/spring-cloud-sleuth

@Gateway(requestChannel = "xform")
String send(String input);

代码示例来源:origin: spring-projects/spring-integration-samples

@Gateway(requestChannel="orders")
void placeOrder(Order order);

代码示例来源:origin: spring-projects/spring-integration-samples

@Gateway(requestChannel = "gatewayChannel")
Mono<Integer> multiplyByTwo(int number);

代码示例来源:origin: spring-projects/spring-integration-samples

@Gateway(requestChannel = "gatewayChannel")
ListenableFuture<Integer> multiplyByTwo(int number);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "monoChannel")
Mono<Integer> multiply(Integer value);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(replyTimeout = -1)
String annotationShouldOverrideDefaultToInfinity(String foo);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "requestChannelBar")
void bar(String payload);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "gatewayThreadChannel")
Future<Thread> test3(Thread caller);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "gatewayThreadChannel")
Future<Thread> test1(Thread caller);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(payloadExpression = "#args[0]", requestChannel = "lateReplyChannel",
    requestTimeoutExpression = "#args[1]", replyTimeoutExpression = "#args[2]")
String lateReply(String payload, long requestTimeout, long replyTimeout);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "gatewayThreadChannel")
Future<Thread> test1(Thread caller);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "gatewayThreadChannel")
ListenableFuture<Thread> test2(Thread caller);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "sendAsyncChannel")
@Async
void sendAsync(String payload);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(headers = @GatewayHeader(name = MessageHeaders.CONTENT_TYPE, value = "application/json"))
TestPerson convertJsonToPerson(String jsonPerson);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(headers = @GatewayHeader(name = "calledMethod", expression = "#gatewayMethod.name"))
String echo2(String payload);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(requestChannel = "gatewayChannel")
Object test2(@Payload Map<Object, ?> map);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(headers = @GatewayHeader(name = "method", expression = "#gatewayMethod.name"))
CustomFuture returnCustomFuture(String s);

代码示例来源:origin: spring-projects/spring-integration

@Gateway(headers = @GatewayHeader(name = "method", expression = "#gatewayMethod.name"))
Future<?> returnCustomFutureWithTypeFuture(String s);

代码示例来源:origin: spring-projects/spring-integration

@MessageMapping("/greeting")
@SendToUser("/queue/answer")
@Gateway(requestChannel = "greetingChannel")
String greeting(String payload);

相关文章