Skip to main content

developerWorks >  SOA and Web services  >  Forums  >  IBM WebSphere DataPower SOA Appliance  >  developerWorks

Not able to consume response message immediately after putting request...    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 1 - Pages: 1 - Last Post: Nov 12, 2009 9:53 AM Last Post By: swlinn
Deepak Dhami

Posts: 25
Registered: Oct 14, 2009 12:28:47 AM
Not able to consume response message immediately after putting request...
Posted: Nov 12, 2009 04:30:29 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi there.

I'm using IBM Websphere MQ to put XML responses in a queue which I have configured
in WAS v6.1.0.17 (QueueConnectionFactory, Queue, Message Listener port, etc.).
That's all done successfully.

Next, I have a MessageDrivenBean class that's listening to what's being put into
that queue.

I'm also able to read every message that's being put.

The problem is that when I try to do "responseMessage = consumer.receive(5000)", it returns the response of the PREVIOUS request.

Do you have a clue??? Hoping you do...

Thanks.
swlinn

Posts: 122
Registered: Oct 18, 2005 11:26:12 AM
Re: Not able to consume response message immediately after putting request...
Posted: Nov 12, 2009 09:53:27 AM   in response to: Deepak Dhami in response to: Deepak Dhami's post
 
Click to report abuse...   Click to reply to this thread Reply
Perhaps this post belongs in a WebSphere App Server forum, not a WebSphere DataPower forum?

Regards,
Steve

Point your RSS reader here for a feed of the latest messages in all forums