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 » Dynamic Publish Subscribe to JMS

Post new topic  Reply to topic
 Dynamic Publish Subscribe to JMS « View previous topic :: View next topic » 
Author Message
MB
PostPosted: Fri Sep 29, 2006 11:03 am    Post subject: Dynamic Publish Subscribe to JMS Reply with quote

Acolyte

Joined: 25 Jun 2004
Posts: 52

Hi,

I am trying to publish a message to a JMS topic dynamically using the JMS Output Node. The Request Property on the JMS Output Node is set to Reply Destination Name. In the Compute node we have coded as below:

CREATE nextsibling of OutputRoot.JMSTransport.Transport_Folders.Header_Values NAME 'Application_Properties';

CREATE LASTCHILD OF OutputRoot.JMSTransport.Transport_Folders.Application_Properties NAME 'threadValue' VALUE '1';

CREATE FIELD OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo type Name value 'jndi://topicName';

RETURN TRUE;

The version of MB is 6.0. The message is not getting published at all. Please let me know if we are missing on something.
Thanks,
~MB
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Sep 30, 2006 4:50 am    Post subject: Re: Dynamic Publish Subscribe to JMS Reply with quote

Grand High Poobah

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

MB wrote:

CREATE FIELD OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo type Name value 'jndi://topicName';

RETURN TRUE;

The version of MB is 6.0. The message is not getting published at all. Please let me know if we are missing on something.
Thanks,
~MB

Try using
Code:
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'topic://' || topicName;


If your transport is MQ you could of course just create and populate the MQRFH2 header....The publisher should be authorized to publish on that topic... And if there is no subscriber for that topic the message will simply be discarded...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dynamic Publish Subscribe to JMS
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.