ajdevries
Jul 5th, 2011, 02:49 PM
Hi,
I've made a working version in SpringMQ to communicate between Java and Ruby. Everything is working quite well. So compliments for that.
I'm using a MessageHandler class that has a
public ReturnObject handleMessage(RecieveObject object)
{
...
}
method.
The problem over here is when the message that is received and transformed misses a replyTo header, I'm getting an exception when return the response to the queue. After that the same message is handled again and I'm getting in an infinitive loop.
Is there some possibility to determine whether the received message contains a replyTo header, so I can act on this one?
Thanks.
AJ
I've made a working version in SpringMQ to communicate between Java and Ruby. Everything is working quite well. So compliments for that.
I'm using a MessageHandler class that has a
public ReturnObject handleMessage(RecieveObject object)
{
...
}
method.
The problem over here is when the message that is received and transformed misses a replyTo header, I'm getting an exception when return the response to the queue. After that the same message is handled again and I'm getting in an infinitive loop.
Is there some possibility to determine whether the received message contains a replyTo header, so I can act on this one?
Thanks.
AJ