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 » WebSphere Message Broker (ACE) Support » REG: Creating a Subscription with FILTER in MQ using command

Post new topic  Reply to topic
 REG: Creating a Subscription with FILTER in MQ using command « View previous topic :: View next topic » 
Author Message
ppraveen33
PostPosted: Fri Oct 18, 2013 6:45 am    Post subject: REG: Creating a Subscription with FILTER in MQ using command Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

Hi,

I am able to create a subscription using GUI.
But when I am trying to create a subscription using commands, I am able to create a subscription but unable to put a message.

I am creating a subscription using the below command
run mqsc QM
DEFINE SUB (SUB_BRANCH3) DEST(SUB.BRANCH3) TOPICOBJ (SAMPLE) SELECTOR ('BRANCH="ECE"')
Back to top
View user's profile Send private message
hughson
PostPosted: Fri Oct 18, 2013 9:13 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1959
Location: Bay of Plenty, New Zealand

I'm not a MB expert, but I though selectors on the message body looked soemhting lke-

Root.Body.something = somethingelse

The selector you show as an example looks like a message property selector.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
ppraveen33
PostPosted: Wed Oct 23, 2013 6:20 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

Hi ,
I got it by using the command.
I need to use escaping characters for creating a subscription.
All three single quotes.

run mqsc QM
DEFINE SUB (SUB_BRANCH3) DEST(SUB.BRANCH3) TOPICOBJ (SAMPLE) SELECTOR ('BRANCH=''ECE''')
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 » WebSphere Message Broker (ACE) Support » REG: Creating a Subscription with FILTER in MQ using command
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.