Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring integration 出站通道适配器java配置_Spring Integration - Fatal编程技术网

Spring integration 出站通道适配器java配置

Spring integration 出站通道适配器java配置,spring-integration,Spring Integration,到目前为止,据我所知,出站通道适配器还没有注释支持 <int:outbound-channel-adapter channel="channel" method="handle"> <beans:bean class="org.Foo"/> 缺少它的原因之一可能是与Service Activator提供的功能类似 有兴趣知道的是,是否有计划在出站通道适配器范围内同步XML和Java配置,作为处理管道的显式终止点?是的,您只需在返回void的方法上使用@Servic

到目前为止,据我所知,出站通道适配器还没有注释支持

<int:outbound-channel-adapter channel="channel" method="handle">
<beans:bean class="org.Foo"/>

缺少它的原因之一可能是与Service Activator提供的功能类似


有兴趣知道的是,是否有计划在出站通道适配器范围内同步XML和Java配置,作为处理管道的显式终止点?

是的,您只需在返回
void
的方法上使用
@ServiceActivator
;我们认为这个案例不需要单独的注释