本文整理了Java中org.springframework.integration.annotation.Gateway.<init>()
方法的一些代码示例,展示了Gateway.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Gateway.<init>()
方法的具体详情如下:
包路径:org.springframework.integration.annotation.Gateway
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!