I am new to spring intergration, I am trying to build a sample application which listen to JMS messages using message-driven-channel-adapter and sent them to logging channel to print it to log.
My config looks like this :
When running this code I am getting below exception :
<si:wire-tap channel="logger" />
<si:logging-channel-adapter id="logger" expression="payload.toString()" level="DEBUG" />
<jms:message-driven-channel-adapter connection-factory="jmsFactory" extract-payload="false" destination="testTopic" channel="in" />
So can sombody please help in resolving this, also I want to print messages recieved (from jms adapter) to a log file, so what configuration are required for that ? as I am not able to find any configuration through which I can use logging channel adapter with log4j.
org.springframework.integration.MessageDeliveryException: Dispatcher has no subscribers for channel in.