It could be as simple as this perhaps (from inside the sendBatch method in Bridge):
| // Differentiate between messages that require a reply
| Destination originalDestination = msg.getJMSReplyTo();
| if(originalDestination == null) {
| producer.send(msg);
| } else {
| // This probably needs to be spawned in a separate thread so it
doesn't block
| QueueRequestor q = new QueueRequestor((QueueSession) targetSession,
(Queue) producer.getDestination());
| Message response = q.request(msg);
| producer.send(originalDestination, response); // This isn't the
correct producer, though
| }
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052074#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...