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 » Could I unsubscribe a durable topic subscriber using C?

Post new topic  Reply to topic
 Could I unsubscribe a durable topic subscriber using C? « View previous topic :: View next topic » 
Author Message
ioat
PostPosted: Tue Oct 28, 2008 12:22 am    Post subject: Could I unsubscribe a durable topic subscriber using C? Reply with quote

Acolyte

Joined: 18 Jul 2005
Posts: 53

I need to use C to unsubscribe a JMS durable topic subscriber. Could I do it?
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Oct 28, 2008 6:29 am    Post subject: Reply with quote

Jedi Knight

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

Yes, this can be done. Try looking at unsubscribe.java at:

http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
marcin.kasinski
PostPosted: Tue Oct 28, 2008 7:08 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

bower5932 wrote:
Yes, this can be done. Try looking at unsubscribe.java at:

http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html


Java is not C.


to ioat
Yes, you can do it with C. Unsubscribe is just message. make unsubscribe with java , check content of unsubscribe message and prepare the same message with C code.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Tue Oct 28, 2008 10:13 am    Post subject: Reply with quote

Jedi Knight

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

I was suggesting that the java program be used as an example.

You might also be interested in looking at dumpbroker.java since it dumps what is subscribed and its output can be piped into unsubscribe.java. Between the two, you should get some samples to help you get your code written.
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 Oct 28, 2008 1:42 pm    Post subject: Reply with quote

Grand High Poobah

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

And finally there is an XMS kit for c. You could use that one as a base.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ioat
PostPosted: Tue Oct 28, 2008 6:54 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Jul 2005
Posts: 53

I got the idea. Thank all of you.
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 API Support » Could I unsubscribe a durable topic subscriber using C?
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.