在尝试运行下面提到的spring集成流程时,出现错误:-
select * from person a join (
select a.* from address a
join (
select address.id, max(eff_date) md from address
group by address.id
) as b
on a.id = b.id and a.eff_date= b.md
) as address on a.person_id = address.id
请协助
org.springframework.jms.listener.DefaultMessageListenerContainer [consumeTradeJSONChannelAdapter.container-9][]: Execution of JMS message listener failed, and no ErrorHandler has been set.
**org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'application.buildCitiFIXChannel'**.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
答案 0 :(得分:1)
调度程序没有频道
'application.buildCitiFIXChannel'
的订阅者
通常在没有启动频道上的使用者时发生。由于您的citiFIXMessageBuilder
没有auto-startup="false"
,因此这可能是<int-jms:message-driven-channel-adapter>
启动太早的原因。
请考虑将phase="2147483647"
添加到<int-jms:message-driven-channel-adapter>
以使其尽可能晚地启动。 (我假设您使用的是非常老的Spring Integration版本,因为这种问题已经修复了一段时间。)