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 API Support » publish a topic using MQI

Post new topic  Reply to topic Goto page Previous  1, 2
 publish a topic using MQI « View previous topic :: View next topic » 
Author Message
bower5932
PostPosted: Tue Nov 08, 2005 2:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Are you truly subscribed? Go get the dumpbroker and unsubscribe programs at the URL above and try running them. I'd also suggest that you get the soccer sample and run it to make sure that your configuration is correct. As far as the difference in the messages and the queues, I was quoting out of the publish/subscribe manual. You might want to look at the various commands that you can send the broker.

As far as fjb_saber is concerned, you could use some user properties in the header and filter on them. So, you should still be able to use JMS.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
sanks
PostPosted: Tue Nov 08, 2005 3:07 am    Post subject: Reply with quote

Apprentice

Joined: 21 Mar 2005
Posts: 27

I am stuck.

Please help me out.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 08, 2005 4:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please go back and read the Using Pub/Sub manual.

And please pay attention. You do not publish messages by putting them on SYSTEM.BROKER.DEFAULT.STREAM. You publish them by putting them on SYSTEM.BROKER.COMMAND.QUEUE.

You subscribe to topics by building a subscription request command message, and put that on SYSTEM.BROKER.COMMAND.QUEUE. The ReplyTo Queue field of that message will indicate the queue you wish to subscribe. If that field is blank, then the broker will assume SYSTEM.BROKER.DEFAULT.STREAM.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sanks
PostPosted: Tue Nov 08, 2005 6:09 am    Post subject: Reply with quote

Apprentice

Joined: 21 Mar 2005
Posts: 27

I have put the RFH-headed message with publish Command
as "<psc><Command>Publish</Command><Topic>SLAM/ALL</Topic> <QMgrName>SLAMQM</QMgrName><QName>SLAM/ALL</QName></psc>"

into SYSTEM.BROKER.CONTROL.QUEUE.

Prior to do that I have done the following sequences.

i>I have started Broker on Qmngr 'SLAMQM'.
ii> I have created 'SLAM/ALL' i.e topic queue.
ii> I have subscribed a queue 'Q1' on that topic i.e 'SLAM/ALL' thru rfhutil.

As soon as I run my application to put message in 'SYSTEM.BROKER.CONTROL.QUEUE' for publication,
I did not find the message any of the following queues like 'SYSTEM.BROKER.CONTROL.QUEUE', 'SYSTEM.BROKER.DEFAULT.STREAM', 'SLAM/ALL' and 'Q1'.
If you gyes tell me any solution it will be really ........ ..

Otherwise I have to think about the other solution.
My basic problem is :
Actually I am going to publish a topic and subscribers will be getting message from topic based on some filter condition. I am not able do the same using JMS. As I am not using Event Broker/Integrator or WBIMB , I am in a big trouble.
Please can any body tell me, is it possible (not using JMS message selector) to do the content based filter in MQ Pub/Sub scenario?

I am bit frustrated.

Thanks
Sanks
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Nov 08, 2005 6:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

sanks wrote:

Actually I am going to publish a topic and subscribers will be getting message from topic based on some filter condition. I am not able do the same using JMS. As I am not using Event Broker/Integrator or WBIMB , I am in a big trouble.
Please can any body tell me, is it possible (not using JMS message selector) to do the content based filter in MQ Pub/Sub scenario?


Just out of curiosity, how were you going to use the broker to do content based filtering? This is exactly what WBI EB/MB were intended for. You could also probably do something in JMS (with a selector) to get this done. I have no idea how you would do this with the old MA0C broker without going and doing something special.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
fjb_saper
PostPosted: Tue Nov 08, 2005 1:38 pm    Post subject: Reply with quote

Grand High Poobah

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

Can't do it using JMS ??

I dont think this is a question of "can" ...
It may well be a question of design and performance especially with some vague filtering criteria...

Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Tue Nov 08, 2005 2:07 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I took the can't to mean that he wasn't supposed to use JMS to do it not that JMS couldn't do it?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » publish a topic using MQI
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.