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 » WebSphere Message Broker (ACE) Support » Publish Subscribe with MB6.1 and MQ7

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 Publish Subscribe with MB6.1 and MQ7 « View previous topic :: View next topic » 
Author Message
learneai
PostPosted: Wed Feb 23, 2011 12:49 am    Post subject: Publish Subscribe with MB6.1 and MQ7 Reply with quote

Newbie

Joined: 23 Feb 2011
Posts: 2

Hi Gurus

Our env
MB6.1 with fixpack 7 and MQ 7

We would be migrating to MB 7 in six months of time. But currently we are in need of implementing a pub sub mechanism which uses the MQ7 pub sub from message broker 6.1. The need is because in MB7 broker does not have the pub sub engine of its own. Instead uses MQ pub sub for it. Can anybody let me know if same can be implemented in MB6.1.

Any pointers would help.

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 23, 2011 4:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There are configuration options with later builds of 6.1 that will allow you to disable the broker's pub/sub engine in favor of the qmgr's pub/sub engine.

Should be documented in the infoCenter under the discussions of pub/sub...
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Feb 23, 2011 11:48 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

As far as I know you can use MQ7 pub/sub in MB 6.1 like this:
- publish with an MOutput that has the queue name property pointing to an alias with a topic target.
- create managed subscriptions with MQ admin tools and get the messages with MQInput nodes.

Works with MB V 7 as well. Should be enough if you only need pub/sub for setting up message routing and do not need to make use of the more advanced features like temporary subscriptions. Some MQ 7 pub/sub feature like retained publications are not (yet) supported in MB 7.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Feb 23, 2011 12:34 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You may need to set the QMGR PSMODE so that Pub/Sub works in the right way.
This is a WMQ function NOT broker.

The
Code:

 ALTER QMGR PSMODE(...)

Is the command to use.

The WMQ docs describe the various options.
You may have to experiment a bit to make it all work together properly.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
learneai
PostPosted: Fri Feb 25, 2011 3:25 am    Post subject: Reply with quote

Newbie

Joined: 23 Feb 2011
Posts: 2

Esa, you are correct. I tried same thing after posting the question on the forum and it worked.
But once we migrate to MB 7 these topic objects and alias queue become useless.
From MB7 we can directly publish to the subscription objects without creating a topic object in mq. This can be achieved by using the Publication Node.

Now we also need to note that creating Topic object at run time using PCF command is also not possible as MQCMD_CREATE_TOPIC is not a valid PCF command in MB6.1.
Back to top
View user's profile Send private message
dilse
PostPosted: Mon Mar 21, 2011 5:50 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Like the original poster, I am trying to get WMB 6.1 work with WMQ 7. As part of this, I had the WMB 6.1 Pub Sub engine disabled to make the Queue manager as the Pub SUb engine. But when I am trying to Publish from a flow that has a Publication node to publish, I am getting the following exception.

Quote:
BIP7034E: Publish/Subscribe support has been disabled.

which indicates that I cannot use a Publication node in the flow when I disable the Broker's Pub Sub engine.

How can you Publish from the Broker without using a Publication node? Appreciate your thoughts.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Mar 21, 2011 6:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

I do not understand you when you say:

dilse wrote:
I am trying to get WMB 6.1 work with WMQ 7.


Why not upgrade to WMB 7? WMB 7 works wonderfully with WMQ 7.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
dilse
PostPosted: Mon Mar 21, 2011 6:13 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

I should have said that I am trying to get the Publish Subscribe working using WMB 6.1 message flow with WMQ7.

Quote:
Why not upgrade to WMB 7? WMB 7 works wonderfully with WMQ 7.

I know that WMB 7 works with WMQ 7 wonderfully but this is how environment is. I have to make it work with how it is as the upgrade is not going to happen soon.

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 21, 2011 6:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

you should be able to use mqoutput to write to a qalias that resolves to a topic?
Back to top
View user's profile Send private message
dilse
PostPosted: Mon Mar 21, 2011 7:28 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Thanks Jeff. Is this(Q alias that resolves to a topic) the only option to publish from WMB 6.1 flow? Also do I have to disable the WMB Pub Sub engine to use the Alias Queue that resolves to a Topic on the Queue manager?
Back to top
View user's profile Send private message
dilse
PostPosted: Mon Mar 21, 2011 10:48 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Any thoughts?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 21, 2011 10:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

dilse wrote:
Any thoughts?

Just set the RFH2 as usual and send to the publish node. Make sure you have authorization for pub/sub and SYSTEM.BROKER.DEFAULT.STREAM.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Mon Mar 21, 2011 11:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

What's possible and what is practical are very different. Avoiding the inevitible is a source of great frustration. Trying to make a shortcut sometimes will cause you to take the long way around anyway.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
dilse
PostPosted: Mon Mar 21, 2011 12:02 pm    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Thanks fjb_saper. You meant Publication node right?

Quote:
Just set the RFH2 as usual and send to the publish node


I did this initially but I was getting
Quote:
BIP7034E: Publish/Subscribe support has been disabled.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 21, 2011 12:59 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

dilse wrote:
Thanks fjb_saper. You meant Publication node right?

Quote:
Just set the RFH2 as usual and send to the publish node


I did this initially but I was getting
Quote:
BIP7034E: Publish/Subscribe support has been disabled.

Did you make sure the psmode for the broker qmgr showed (enabled)?
_________________
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 Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Publish Subscribe with MB6.1 and MQ7
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.