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 » Publishing to Broker on Remote Queue Manager

Post new topic  Reply to topic
 Publishing to Broker on Remote Queue Manager « View previous topic :: View next topic » 
Author Message
malammik
PostPosted: Wed Mar 21, 2007 8:17 am    Post subject: Publishing to Broker on Remote Queue Manager Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

JMS Client is connected to queue manager A, however topic destination has a BROKER QUEUE MANAGER parameter pointing to queue manager B which is happily talking to A and vice versa.

1. In the even of the broker failure on QM B, would the JMS client get an exception?

2. Is it possible to publish under a transaction to a broker on a remote queue manger, if so where would the message be sitting waiting for a commit? On subscriber queues?

Broker is WMBI 6.0 + latest CSDs. MQ is 6.0 with latest CSDs

I will be doing a lab exercise to try these out shortly myself but any prelimiary feedback is as always greatly appreciated.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
malammik
PostPosted: Wed Mar 21, 2007 9:41 am    Post subject: Here is the answer to my first question Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IY75854

If anyone has any info on the second, that would be gr8.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
jefflowrey
PostPosted: Wed Mar 21, 2007 9:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The transaction should be held against the transmit queue.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
malammik
PostPosted: Wed Mar 21, 2007 9:56 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

That's what I am thinking. BUT but.....! Consumer has a notion of receive isolation which implies there might be uncommitted messages sitting on the subscriber queue hence the suspicion above that the uncommitted messages might be sitting on the subscriber queues. In other words, if the publication is under a transaction, broker will drive the message as far as it can (to subscriber subscribe queue) uncommitted.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
jefflowrey
PostPosted: Wed Mar 21, 2007 10:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Broker can't process the publication messages until they're committed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
malammik
PostPosted: Wed Mar 21, 2007 1:41 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

So what you're saying is that when I commit the publication, the actual pub message has not even been processed as such by the broker. I have to agree with yo based on my knowledge but would like to think that the JMS and the broker are smarter than that.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
malammik
PostPosted: Wed Mar 21, 2007 1:45 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Keep publishing on my own thread. Perhaps this will help someone else down the road. Consider this scenario.

PUBACKINT is default at 25 which means JMS client expects an acknowledgement from the broker every 25th message published. Now if we publish 26 message under a transaction, our transaction should then fail because broker did not even receive the 1st message yet since it is uncommitted on the xmitq. I will test that out tonight and let you know.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
jefflowrey
PostPosted: Wed Mar 21, 2007 1:52 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No, I mean this is basic MQ transactionality.

The publication message is not available to the broker until it's committed. So until the publisher commits, the broker can't perform the publication, as the publication hasn't really happened.

I do not believe there is any way to control the syncpoint between broker and subscriber queue. Depending on which pub/sub broker you use, it's likely to either always be in syncpoint or syncpoint-if-persistent.

Then it is up to the subscriber to determine if they need a syncpoint for themselves, when getting the publication message. But the broker has already considered that the message is published by this point.

I think in your PUBACKINT case, the publisher will still get the ack.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Publishing to Broker on Remote Queue Manager
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.