Reputation: 6649
Looks like there's no factory for building messageDrivenChannelAdapter
, listenerContainers
... in Spring messaging abstraction (org.springframework.messaging.*
) instead of JMS (org.springframework.jms.*
).
I mean so you can configure messaging's MappingJackson2MessageConverter
instead of JMS's, use JmsMessagingTemplate
...
Upvotes: 0
Views: 74
Reputation: 121482
The JmsMessagingTemplate
isn't designed for use from the Spring Integration flow. Here we have adapters and channels between them. The JmsMessagingTemplate
is a one stop shop to be used from the target service without any flow capabilities.
You can use it though from the .handle(jmsMessagingTemplate::send)
as Service Activator and from the IntegrationFlow.from(jmsMessagingTemplate::receive)
as Inbound Channel Adapter.
Upvotes: 1