Author |
Message
|
AkankshA |
Posted: Mon Jul 31, 2006 12:45 am Post subject: JMS destination queue configuration in local env |
|
|
 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 |
|
 |
elvis_gn |
Posted: Mon Jul 31, 2006 1:23 am Post subject: |
|
|
 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 |
|
 |
AkankshA |
Posted: Mon Jul 31, 2006 2:36 am Post subject: |
|
|
 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 |
|
 |
elvis_gn |
Posted: Mon Jul 31, 2006 2:46 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Mon Jul 31, 2006 3:17 am Post subject: |
|
|
 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 |
|
 |
AkankshA |
Posted: Mon Jul 31, 2006 4:36 am Post subject: |
|
|
 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 |
|
 |
elvis_gn |
Posted: Mon Jul 31, 2006 4:41 am Post subject: |
|
|
 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 |
|
 |
VINOD |
Posted: Mon Jul 31, 2006 10:39 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Jul 31, 2006 11:03 am Post subject: |
|
|
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 |
|
 |
VINOD |
Posted: Mon Jul 31, 2006 9:55 pm Post subject: |
|
|
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 |
|
 |
VINOD |
Posted: Mon Jul 31, 2006 10:11 pm Post subject: |
|
|
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 |
|
 |
|