ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » msg published by MQI can not be received by JMS client?

Post new topic  Reply to topic
 msg published by MQI can not be received by JMS client? « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Wed May 27, 2009 4:42 am    Post subject: msg published by MQI can not be received by JMS client? Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed May 27, 2009 4:44 am    Post subject: Re: msg published by MQI can not be received by JMS client? Reply with quote

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
View user's profile Send private message
kun.leeing
PostPosted: Wed May 27, 2009 6:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Wed May 27, 2009 4:45 pm    Post subject: Re: msg published by MQI can not be received by JMS client? Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed May 27, 2009 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Thu May 28, 2009 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Thu May 28, 2009 11:57 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Could anybody give me more clues?
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Fri May 29, 2009 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » msg published by MQI can not be received by JMS client?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.