Author |
Message
|
shavo25 |
Posted: Mon Feb 16, 2009 5:11 pm Post subject: Websphere MQ explorer powered by eclipse |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
I am working on an MQ environment, and a queue manager was setup with queues and topics. i am pretty new to websphere MQ, and i am trying to look at the topics that are setup but all i can see is the queues.
Is there a reason that i cannot see them using MQ explorer, i know there is topics created as i can subscribe to them but is there a particular way topics are setup by an administrator using a broker and are not visible using MQ explorer or am i missing something?
Regards,
Shane. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 16, 2009 10:19 pm Post subject: Re: Websphere MQ explorer powered by eclipse |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
shavo25 wrote: |
I am working on an MQ environment, and a queue manager was setup with queues and topics. i am pretty new to websphere MQ, and i am trying to look at the topics that are setup but all i can see is the queues.
Is there a reason that i cannot see them using MQ explorer, i know there is topics created as i can subscribe to them but is there a particular way topics are setup by an administrator using a broker and are not visible using MQ explorer or am i missing something?
Regards,
Shane. |
You don't specify whether your environment is V7 or V6. Pub / Sub has changed considerably with this last release (V7). So unless you give us a lot more specifics all we can do is refer you to the manuals page  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shavo25 |
Posted: Tue Feb 17, 2009 3:29 pm Post subject: Websphere MQ explorer 6 |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
sorry it is V6. Went through the user guide for websphere MQ 6.0 yesterday, i understand now that i have a system queue for my message broker called SYSTEM.JMS.D.CIM so this is a durable subscription and a shared queue [administrator set this up a long time ago so im trying to get a grasp of it myself]
So if i create a topic called AGDPUBLISHQ in my java application and publish to it, i wont see this topic on MQ explorer as its dynamic? Is that correct?
Regards,
Shane. |
|
Back to top |
|
 |
PhilBlake |
Posted: Tue Feb 24, 2009 6:35 am Post subject: |
|
|
 Acolyte
Joined: 25 Oct 2005 Posts: 64
|
|
Back to top |
|
 |
shavo25 |
Posted: Tue Feb 24, 2009 3:43 pm Post subject: Websphere MQ explorer powered by eclipse |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
Thanks phil, for my system queue SYSTEM.JMS.D.CIM, what is the cardinality with topics? As in can i publish messages to multipe topics on this queue or is it a one to one relationship?
Thanks again,
Shane. |
|
Back to top |
|
 |
shavo25 |
Posted: Tue Feb 24, 2009 4:23 pm Post subject: Websphere MQ explorer powered by eclipse |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
Sorry one more question, how would i know what message broker model the queue manger is using from MQ explorer? As in is it publish/subscribe or business integration message broker or so forth? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 25, 2009 12:50 am Post subject: Re: Websphere MQ explorer powered by eclipse |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shavo25 wrote: |
how would i know what message broker model the queue manger is using from MQ explorer? |
MQExplorer can only see WMQ object. Message Broker pub/sub is administered from the WMB Toolkit. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 25, 2009 2:48 am Post subject: Re: Websphere MQ explorer powered by eclipse |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
shavo25 wrote: |
how would i know what message broker model the queue manger is using from MQ explorer? |
MQExplorer can only see WMQ object. Message Broker pub/sub is administered from the WMB Toolkit. |
That's not what shavo25 is asking.
Shavo25 - the queue manager is using the pub/sub model that you configure it to use. If you purchased and installed and configured Message Broker, then you will be using Message Broker's pub/sub model. More technically, if you do not see any queues named "SYSTEM.BROKER.XXXX", then you do not have Message Broker. |
|
Back to top |
|
 |
shavo25 |
Posted: Wed Feb 25, 2009 2:44 pm Post subject: Websphere MQ explorer powered by eclipse |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
Thanks for that guys, i can see SYSTEM.BROKER so MQ is setup using pub/sub model, funny thing is when asked them to add in the support pac to see topics, ISB the department for adminstering MQ refused, ah well!
Just on this issue again:
Quote: |
for my system queue SYSTEM.JMS.D.CIM, what is the cardinality with topics? As in can i publish messages to multipe topics on this queue or is it a one to one relationship?
|
Does anybody know the answer for this?
Thanks,
Shane. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 25, 2009 2:55 pm Post subject: Re: Websphere MQ explorer powered by eclipse |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
shavo25 wrote: |
Thanks for that guys, i can see SYSTEM.BROKER so MQ is setup using pub/sub model, funny thing is when asked them to add in the support pac to see topics, ISB the department for adminstering MQ refused, ah well!
Just on this issue again:
Quote: |
for my system queue SYSTEM.JMS.D.CIM, what is the cardinality with topics? As in can i publish messages to multipe topics on this queue or is it a one to one relationship?
|
Does anybody know the answer for this?
Thanks,
Shane. |
My question would be why do you care?
Well if you really do care you need to dump the subscriptions and find which are subscribed for that queue. Then you need to match the subscriptions to the topics and thus you can find how many topics are delivered to the queue. That does not mean that you have a steady number of messages on a given number of topics....
IMHO a well planned subscription should always provide the Destination to which you want the messages delivered to.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shavo25 |
Posted: Wed Feb 25, 2009 9:52 pm Post subject: Websphere MQ explorer powered by eclipse |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
No what i want to know is for my system subscriber queue SYSTEM.JMS.D.CIM, using websphere mq jms code can i publish to multiple topics on this queue?
For example my code:
Code: |
producer = session.createProducer(session.createTopic(topic:///SYSTEM.JMS.D.CIM/AGDPUBLISHQ));
TextMessage message = session.createTextMessage();
producer.send(message); |
If i created mulitple producers with the same underlying system queue but with a different topic, for example:
Code: |
producer1 = session.createProducer(session.createTopic(topic:///SYSTEM.JMS.D.CIM/SHAVO25)); |
Is this valid? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 26, 2009 9:14 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You are talking about pub/sub in V6 yet you seem to understand very little either about topics or about the way they deal with queues.
the pub / sub manual
The publish queue is a stream queue that is set in the tcf.
Your topic of "topic:///someqname/sometopicstring" makes little sense to me.
Read, Study and ask clarification when you can show you understood a little more of the manual.
Set up the topics using JMSAdmin, retrieve them from JNDI and display the output of the topic. You will see the correct URI form of the topic.
It usually is something like "topic://sometopicstring?arg1=value1&arg(n)=value(n)"
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
shavo25 |
Posted: Sun Mar 01, 2009 3:35 pm Post subject: Websphere MQ explorer powered by eclipse |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
I read the manual. I am not the websphere admimistrator and they will not add the support pac for websphere MQ 6.0 to view topics in MQ explorer. There is no topic connection factory as there is no administered objects setup. I have had no websphere training, as there is no technical support in my workplace so i am trying to understand the publish/subscribe model myself.
So if you do not want to help or advice me, please do not be condescending.
Like i said in my last replies, there is a stream queue setup which is a shareable durable subscriber queue due to the prefix SYSTEM.JMS.D. My question is can i add several topics to this queue or is it a one to one relationship? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Mar 01, 2009 4:29 pm Post subject: Re: Websphere MQ explorer powered by eclipse |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
shavo25 wrote: |
Like i said in my last replies, there is a stream queue setup which is a shareable durable subscriber queue due to the prefix SYSTEM.JMS.D. My question is can i add several topics to this queue or is it a one to one relationship? |
pub/sub manual
Your reply in quotes proves that you do not understand what you are talking/reading about, hence the advice to go back to the manuals. A stream queue is NOT a subscriber queue and is NOT the generic queue where subscriptions are delivered to unless otherwise specified.
Any condescension is of your own perception/frustration.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shavo25 |
Posted: Sun Mar 01, 2009 4:39 pm Post subject: Websphere MQ explorer powered by eclipse |
|
|
 Apprentice
Joined: 16 Feb 2009 Posts: 29
|
From the websphere mq 6.0 manual:
Quote: |
Configuring durable subscribers:
For durable subscriptions, the queue name you provide must start with the following characters:
SYSTEM.JMS.D.
To select a shared queue approach, specify an explicit queue name, where the named queue is the one to use for the shared queue. The queue that you specify must already physically exist before you create the subscription. |
Does any one else know if i can create multiple topics on my already created queue SYSTEM.JMS.D.CIM?
Thanks,
Shane. |
|
Back to top |
|
 |
|