I can set FROM field of the request message, and then it works. But is it correct solution? Field FROM works but ReplyTo does not. It's strange, I think.
What error message do you see?
It internally throws NullPointerException.
The problem is this line number 342 in ServiceInvoker.java. I use JBossESB-4.2GA.
This line is called during invocation of deliveAsync().
syncPickupDeliveryTimeout.get() returns null and courier.pickup takes simple type long argument. syncPickupDeliveryTimeout.set() is called only if deliverSync is called.
Yes, that's a bug.
That code should be checking to see whether it is a synchronous call before checking for a response.