spring integration - How to drop a message in jms outbound adapter and reply my caller that I have sent message? -
in project, have send message queue destination. fire , forget type. drop message queue, need notify caller have dropped message.
i have tried handle(jms.outboundadapter(connectionfactory).destination(queuename). not attach component after handle. , dont want thread wait indefinitely also. because, have tried calling above handle in separate gateway, test waiting indefinitely.
any suggestions.?
you can make channel before outbound adapter publishsubscribechannel , bind second subscriber generates reply , sends it.
Comments
Post a Comment