Author |
Message
|
jugadu |
Posted: Mon Feb 16, 2009 4:00 am Post subject: Unable to put Messages from Fileinput node to JMsoutput node |
|
|
Apprentice
Joined: 04 Dec 2007 Posts: 30
|
Hi,
I am using the flow
Fileinput->Compute->MqtoJMSxform->JMSoutput.
The problem here is that the message is not getting delivered and the exception caught is [invalid name or password].
Since the JMS server is user authenticated, should I require to create proper JMS headers to resolve this? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 16, 2009 4:01 am Post subject: Re: Unable to put Messages from Fileinput node to JMsoutput |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jugadu wrote: |
Since the JMS server is user authenticated, should I require to create proper JMS headers to resolve this? |
Yes. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 16, 2009 4:03 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The FileInput node does not produce an MQ header.
So using the MQtoJMSXform node likely does nothing other than waste CPU cycles and confuse future maintainers of your flow.
Do you only have this problem when you send a message created from FileInput to a JMSOutput node? Or do you also have this problem *regardless* of what Input node started the flow? |
|
Back to top |
|
 |
jugadu |
Posted: Mon Feb 16, 2009 4:10 am Post subject: |
|
|
Apprentice
Joined: 04 Dec 2007 Posts: 30
|
I face this problem only when I use Fileinput Node.
I am generating MQ headers in the compute node.
SET OutputRoot.MQMD.StrucId = MQMD_STRUC_ID;
How to generate proper JMS headers if this is the solution. 
Last edited by jugadu on Mon Feb 16, 2009 4:14 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 16, 2009 4:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jugadu wrote: |
I am generating MQ headers in the compute node.
SET OutputRoot.MQMD.StrucId = MQMD_STRUC_ID; |
I hope there's rather more code than that!!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jugadu |
Posted: Mon Feb 16, 2009 4:21 am Post subject: |
|
|
Apprentice
Joined: 04 Dec 2007 Posts: 30
|
Can I please know how to generate proper JMS headers if this is the solution.  |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 16, 2009 4:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jugadu wrote: |
Can I please know how to generate proper JMS headers if this is the solution.  |
You don't need our permission to know that!
You'll find the documentation informative on this matter. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 16, 2009 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Moving to proper forum  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jugadu |
Posted: Mon Feb 16, 2009 5:27 am Post subject: |
|
|
Apprentice
Joined: 04 Dec 2007 Posts: 30
|
I am not really getting as to which MQMD properties to set so that a proper JMS headers comes out of MQtoJMSXform node.
Still getting the error as: No message ID, invalid name/password.
Kindly help. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 16, 2009 5:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jugadu wrote: |
I am not really getting as to which MQMD properties to set so that a proper JMS headers comes out of MQtoJMSXform node.
Still getting the error as: No message ID, invalid name/password.
Kindly help. |
The messageId problem is one for you to solve.
For the invalid name/password have you looked at the security manual, the setup of JMS in the broker and mqsi*par*s commands?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|