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 » Setting psc commands for subscribing using Java

Post new topic  Reply to topic
 Setting psc commands for subscribing using Java « View previous topic :: View next topic » 
Author Message
shantha
PostPosted: Mon Oct 25, 2004 4:50 am    Post subject: Setting psc commands for subscribing using Java Reply with quote

Apprentice

Joined: 11 Dec 2003
Posts: 41

hi all,
I need to write a java program to create a psc folder and set psc commands for subscribing where all the queue names,qmgr name are taken as input dynamically
This is what I exactly want.

I need to know how can I specify a subscription queue and queue manager in the subscription request to WMQIMB.

Let me explain what I am trying to achieve.

1.) Some JMS code does publication on a Queue 'A'.
2.) Queue 'A' acts as a input node to a messageflow in WMQIMB.
3.) This message from Queue 'A' is passed to a publication node which does the publishing job for me.

Need to subscribe to this publication with topic,subscription filter,subscription Queue and subscription Queue Manager.

Based on this subscription WMQIMB should forward the required message to subscription Queue defined in subscription request.

Appreciate your inputs / Pointers on this.


Could anybody please help in writing the java code for this
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 25, 2004 4:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/aq06990_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
shantha
PostPosted: Mon Oct 25, 2004 9:42 pm    Post subject: Reply with quote

Apprentice

Joined: 11 Dec 2003
Posts: 41

hi,

Thanks for the help.
Can any onw please give me some sample code for doign this ,or any link which has samples.Because I am runnig short of time

regards
Shantha
Back to top
View user's profile Send private message
siliconfish
PostPosted: Mon Oct 25, 2004 9:51 pm    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

How much time do u have ?
_________________
siliconfish
Back to top
View user's profile Send private message
shantha
PostPosted: Mon Oct 25, 2004 9:56 pm    Post subject: Reply with quote

Apprentice

Joined: 11 Dec 2003
Posts: 41

Back to top
View user's profile Send private message
siliconfish
PostPosted: Mon Oct 25, 2004 10:05 pm    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

http://www.developer.ibm.com/en_US/tech/sample_code_handler.pl?action=display&object=/tech/sample_code/mq/Unsubscribe.java
_________________
siliconfish
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 » Setting psc commands for subscribing using Java
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.