On Thu, Jul 31, 2008 at 10:11 AM, ant elder <[EMAIL PROTECTED]> wrote:
> > > On Wed, Jul 30, 2008 at 10:11 PM, Benowitz, Michael < > [EMAIL PROTECTED]> wrote: > >> Hello, >> >> >> >> I am running the example referenced by ant elder in the "Example of >> asynchronous programming using Callback >> <http://www.mail-archive.com/user@tuscany.apache.org/msg00173.html>" thread >> (http://svn.apache.org/repos/asf/tuscany/java/sca/samples/callbacks-jms), >> and it works as expected except that the client never receives the callback. >> >> >> >> I have verified that the service is receiving the request, and >> OrderServiceImpl is calling placeOrderResponse on a valid-looking >> OrderCallback that prints out as [Proxy - [EMAIL PROTECTED], and there is no >> error message, but the placeOrderResponse method of OrderServiceClient is >> never invoked. I increased the sleep time in the testcase to 50 seconds to >> make sure the time was not an issue. What could be wrong? >> >> >> >> Thank you, >> >> Mike >> >> Which level of the Tuscany code are you using? The JMS callback support > is new so has not been included in a release yet so you need to use the > trunk code. > > ...ant > Another thing i just remembered from when i was testing this which would give the symptom you're seeing is that there's a bug in ActiveMQ 4.1 so that callbacks to temporary queues don't work. Thats fixed in ActiveMQ 5.1.0 which is what the Tuscany sample is using in its pom.xml. ...ant