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 » Hub/Spoke Arcitecture with JMS Subscriber at the Spoke

Post new topic  Reply to topic
 Hub/Spoke Arcitecture with JMS Subscriber at the Spoke « View previous topic :: View next topic » 
Author Message
wilsonjohn24
PostPosted: Thu Oct 11, 2007 12:20 am    Post subject: Hub/Spoke Arcitecture with JMS Subscriber at the Spoke Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

Hi,

[ pub/subs clients are JMS]
[WMB 6.03]
[WMQ 6.02]
[JMS 1.1]

Have WMB as the pub/subs engine on the Hub. I want to connect a Durable Subscriber via a Spoke system. I dont want the application that is subscribing talking directly with the Hub! I can do pub/sub ok when communicating directly with pubs/subs on the Hub.

I can publish ok from the spoke system ( creating remote defiition of stream etc on the spoke system to the hub), but I am unable to set up a durable subscription. I get error following error:

Broker command failed: 3081 Reason code 3081
(*Which I know is about security etc*)

Questions:

1) Is it standard approach to pub/subs from a already establish hub/spoke architectire?

2)Is there any special security setting I need to do other than clientID in JMS? [ The whole system is not security enabled]

3) Also is there any free software than can read PCF event messages?
I have authority events enabled but not tool to deciper them!
Back to top
View user's profile Send private message
wilsonjohn24
PostPosted: Thu Oct 11, 2007 6:30 am    Post subject: Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

Ok then,

Can you subscribe to a pub/subs engine indirectly via another queue manager than is not a pub/subs engine? Or must you connect directly to the pub/subs engine?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 11, 2007 6:37 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You should be able to interact with a broker that is on a different qmgr than the one your application is connected to.

It's necessary, first, to ensure that there is good solid MQ communications between the two queue managers.

Secondly, to make sure that any necessary queue names can be properly resolved from both directions (that your app can send to the correct broker queues and that the broker can send to the correct queues for your app).

There are properties on JMS destinations that distinguish between "your" queue manager and the BROKER queue manager... that is, there are property to identify the broker queue manager.

There is at least one SupportPac that should let you view authority messages - I think there may even be three, one of which is an MQ Explorer plugin.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wilsonjohn24
PostPosted: Thu Oct 11, 2007 8:09 am    Post subject: Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

1. MQ Comms are solid. As I get the reports of failure back to the non pubs/subs QM.

2.Proper alias etc all done....

3. I do change all the properties including the broker queue manager in JMS.

Simple Non JMS scenario using RFHUtil.
----------------------------------------------

1.Send a subscription direct to broker it works ok.

2.As 1 except change the subscription queue manager + queuename to
point to the non pub/subs queue manger still connecting directly to broker. Works ok.

3. Alias System.broker.control.queue on non pubs/subs Queue Manager to point to the name sake on the broker. Then do the same as 2, except connect to the non pubs/subs queue manager. But all the data entered is the same - I get 3081 error.

The fact that 2 works I conclude that the infrastructure set up is ok. The fact the 3 fails seem to indicate that a subscriber need to be connected directly to the broker.

This is was my take for what it's worth
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 11, 2007 2:53 pm    Post subject: Reply with quote

Grand High Poobah

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

Dont use point 3--- In the TCF specify the broker qmgr which is not the qmgr you are connected to...

It should work better.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wilsonjohn24
PostPosted: Thu Oct 11, 2007 10:07 pm    Post subject: Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

Hi fjb_saper,

So is it acceptable practice in a hub and spoke architecture to have you publishers and subscribers communicating directly with broker?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 12, 2007 8:25 am    Post subject: Reply with quote

Grand High Poobah

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

If you look at the TCF setup:
You can create a TCF that connects to QMGR B and specifies that QMGR A is the broker. You do not connect directly to the broker QMGR but you need regular channels and default routing between qmgr A and qmgr B

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wilsonjohn24
PostPosted: Tue Oct 16, 2007 10:22 pm    Post subject: Reply with quote

Voyager

Joined: 02 Feb 2007
Posts: 93
Location: Scotland

The solution was to patch broker.

http://www.mqseries.net/phpBB2/viewtopic.php?p=194569#194569
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 » Hub/Spoke Arcitecture with JMS Subscriber at the Spoke
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.