Author |
Message
|
kun.leeing |
Posted: Wed May 27, 2009 4:42 am Post subject: msg published by MQI can not be received by JMS client? |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
hi, experts.
My problem is subject above.
I published a message using 'amqspub' and test receiving the msg by my JMS client. But it received nothing. why?
Only 'amqssub' can receive the message.
Could sombody give me an explanation?
Thanks. |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 27, 2009 4:44 am Post subject: Re: msg published by MQI can not be received by JMS client? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kun.leeing wrote: |
Could sombody give me an explanation? |
If you give us more to work with than "nothing"; was no message sent to the subscription queue? The message sent but your JMS client ignored it? Your JMS client returned an error? Was your JMS client subscribing in a different way / different topic?
You need to give more details. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kun.leeing |
Posted: Wed May 27, 2009 6:40 am Post subject: |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
Thanks,vitor.
My JMS Client is in the same topic with the MQI Publisher. And I think the mesage should have been sent to the stream queue at least.
The JMS Client did not throw any errors.
If my pub/sub both side using MQI or JMS, everything go correctly.
But in different envrironment, one MQI like 'amqspub' and another JMS ,the subscriber can not receive msg.
Anybody help me .
thanks. |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed May 27, 2009 4:45 pm Post subject: Re: msg published by MQI can not be received by JMS client? |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
kun.leeing wrote: |
I published a message using 'amqspub' and test receiving the msg by my JMS client. But it received nothing. why?
Only 'amqssub' can receive the message. |
Was the JMS client started and running OK before the publication was made? _________________ Glenn |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 27, 2009 6:07 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you set the V6 compatibility mode for pub/sub?
Did you use a V6 or a V7 client? _________________ MQ & Broker admin |
|
Back to top |
|
 |
kun.leeing |
Posted: Thu May 28, 2009 8:09 am Post subject: |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
Thanks for replies above.
And How does compatibility mode set?
And I think the version both ends are same.
Because one using 'amqspub' of MQ provided c samples and another using 'com.ibm.*' under the same MQhome directory.
My java code(subscriber) can be interactive with its publisher.
But it can not receive the messages published by amqspub.why?
I used v7 client. |
|
Back to top |
|
 |
kun.leeing |
Posted: Thu May 28, 2009 11:57 pm Post subject: |
|
|
 Disciple
Joined: 27 Sep 2008 Posts: 171
|
Could anybody give me more clues? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri May 29, 2009 10:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
kun.leeing wrote: |
Could anybody give me more clues? |
Look up the compatibility mode. It's somewhere in the V7 manuals... check pub/sub manual first...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|