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 » JMS destination queue configuration in local env

Post new topic  Reply to topic
 JMS destination queue configuration in local env « View previous topic :: View next topic » 
Author Message
AkankshA
PostPosted: Mon Jul 31, 2006 12:45 am    Post subject: JMS destination queue configuration in local env Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Hi,

I am working inWBIMB v6... using JMS as transport protocol for my application...

JMSOutput node requires Destination queue name... i tried to populate my local environment tree with the same(as done in MQ n http) but the node is not accepting it...

I have tried following but no luck..
SET OutputLocalEnvironment.Destination.JMS.queueName = 'Qname'
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSDestination = 'Qname'

Any idea,,,,?
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Mon Jul 31, 2006 1:23 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Akanksha,

From Infocenter:
Quote:
Select an option from the Destination Mode drop-down list.
The default value is Destination Name. It this is selected, the message is treated as a request of a datagram and it targets either the Publication Topic or the Destination Queue .
If the message is to be treated as a reply, select Reply Destination Name. The JMS provider is supplied with the JMSReplyTo value from the JMSTransport_Header_values section of the message tree.


Regards.
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Mon Jul 31, 2006 2:36 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Hi elvin_gn

I did read that...

JMSOutput node requires either Destination queue name or topic name...

If i populate queue name in node the message goes to desired destination.... my requirement out here is populating the same through eSQL....
i tried to populate my local environment tree with the same as done in MQ n http but an exception gets thrown saying that it requires either Q name or topic name....
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Mon Jul 31, 2006 2:46 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Akanksha,

I feel this is what ur settings should be...plz let me know if u've already tried it.

JMSOutputNode: Request
Destination Mode = Reply Destination name
and
Code:
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'Qname'

Regards.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Mon Jul 31, 2006 3:17 am    Post subject: Reply with quote

Grand High Poobah

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

elvis_gn wrote:
Hi Akanksha,

I feel this is what ur settings should be...plz let me know if u've already tried it.

JMSOutputNode: Request
Destination Mode = Reply Destination name
and

Code:
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'queue://qmgr/Qname'

Please remember when in JMS to use the URI form....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Mon Jul 31, 2006 4:36 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Hi :>

Its not working yet..
I gave SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'Qname'

and The error i receive is
Text = Invalid type for JMS header data from MbMessage :JMSReplyTo

Also i am not using Qmgr for JMS.... we are using Web Logic Server with connection factory etc...


I feel the catch is ::: when i populate queue name in JMSOutput node.... but i do not know how to set the same in eSQL....


F1 pls...
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Mon Jul 31, 2006 4:41 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Akanksha,

Did you try this.
fjb_saper wrote:

Code:
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'queue://qmgr/Qname'

Please remember when in JMS to use the URI form....


Regards.
Back to top
View user's profile Send private message Send e-mail
VINOD
PostPosted: Mon Jul 31, 2006 10:39 am    Post subject: Reply with quote

Newbie

Joined: 06 Jul 2006
Posts: 4

would any provide me solution how to post message on jms queue using esql + jmsoutput node.

i have the following esql code
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSDestination ='queue://QM/queue1'

and destination mode as detination name

i am getting error destiname or topic missing..

any soultion would be highly appreciable....
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 31, 2006 11:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

How are you creating OutputRoot.JMSTransport?

Are you creating it in the proper location - before Body and after Properties?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
VINOD
PostPosted: Mon Jul 31, 2006 9:55 pm    Post subject: Reply with quote

Newbie

Joined: 06 Jul 2006
Posts: 4

Right my seqence is as follows

Message
Properties
JMSTransport
Transport_Folders
Message_MetaData
PayloadType
Text
MessagePersistence
Non_Persistent
Header_Values
JMSDestination
queue://QM/queue1
JMSDeliveryMode
dt = i4
1

Application_Properties
JMS_Provider_Properties
Standard_Properties

XML
LocalEnvironment
Environment
ExceptionList
Back to top
View user's profile Send private message
VINOD
PostPosted: Mon Jul 31, 2006 10:11 pm    Post subject: Reply with quote

Newbie

Joined: 06 Jul 2006
Posts: 4

I have also tried the with JMSReplyTo option as well.

The scenarios is same as elvis_gn has has decribed to akanksha

JMSOutputNode: Request
Destination Mode = Reply Destination name
and

Code:
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSReplyTo = 'queue://qmgr/Qname'


Even this does not work . I am getting the same error as follow
Text = Invalid type for JMS header data from MbMessage :JMSReplyTo


any solution plz...
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 » JMS destination queue configuration in local env
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.