Topic
  • 5 replies
  • Latest Post - ‏2016-12-16T21:30:52Z by bs9317
SystemAdmin
SystemAdmin
4179 Posts

Pinned topic how to force Integrator to output jms_text type message?

‏2002-08-02T20:06:23Z |
We wanted a JAVA message bean to read an XML message that was written by the
Integrator. Our problem is that the JAVA classes identified the JMS message
class as jms_bytes and not jms_text.

I tried the following in the integrator:
SET OutputRoot.MQRFH2.mcd.Msd = 'jms_text';
but the integrator changed MQRFH2.mcd.Msd to 'xml'.

First, are we on the right track? If not, what fields and values do I need
to set in the integrator? If we are on the right track, how can I keep the
Integrator from overriding 'jms_text'?

Thanks. We are using Websphere Integrator version 2.1.

Updated on 2002-08-05T16:56:27Z at 2002-08-05T16:56:27Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    4179 Posts

    Re: how to force Integrator to output jms_text type message?

    ‏2002-08-05T13:03:22Z  
    Hi!!!

    I don't know if it's a good solution, but I've written a node (in java)
    which puts "jms_text" into "/MQRFH2/mcd/Msd". Again, I don't know if
    it's enough - just to replace "xml" with "jms_text"...

    Have a nice day, Mariusz

    --
    www.MainFrameForum.com - USENET Gateway
  • SystemAdmin
    SystemAdmin
    4179 Posts

    Re: how to force Integrator to output jms_text type message?

    ‏2002-08-05T15:24:02Z  
    Rick,
    You need the ResetContentDescriptor node, for example:
    MQInput -> Compute -> ResetContentDescriptor -> MQOutput

    ResetContentDescriptor
    Message Domain = 'jms_text'
    Reset Message Domain = Yes

    Compute 'Add RFH2 header'
    SET OutputRoot.MQMD.Format = 'MQHRF2 ';
    SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR ';

    SET OutputRoot.MQRFH2.jms.Dst = 'queue:///' ||
    InputRoot.MQMD.SourceQueue;

    Hope this helps.

    Regards, Arjan
    e-business Hosting, IGS
    http://edi.services.ibm.com/mqseries/spec_sheets.shtml
    Rick wrote:
    > We wanted a JAVA message bean to read an XML message that was written by the
    > Integrator. Our problem is that the JAVA classes identified the JMS message
    > class as jms_bytes and not jms_text.
    >
    > I tried the following in the integrator:
    > SET OutputRoot.MQRFH2.mcd.Msd = 'jms_text';
    > but the integrator changed MQRFH2.mcd.Msd to 'xml'.
    >
    > First, are we on the right track? If not, what fields and values do I need
    > to set in the integrator? If we are on the right track, how can I keep the
    > Integrator from overriding 'jms_text'?
    >
    > Thanks. We are using Websphere Integrator version 2.1.
    >
    >
  • SystemAdmin
    SystemAdmin
    4179 Posts

    Re: how to force Integrator to output jms_text type message?

    ‏2002-08-05T16:56:27Z  
    Rick,

    Have you tried using a RCD node with Message Domain reset to jms_text?

    --
    www.MainFrameForum.com - USENET Gateway
  • bs9317
    bs9317
    2 Posts

    Re: how to force Integrator to output jms_text type message?

    ‏2016-12-16T16:35:50Z  

    I have a similar problem and I did try using RCD node but with V9.* looks like 'jms_text' has been removed. Is there any other way to enforce message domain as 'jms_text'?

  • bs9317
    bs9317
    2 Posts

    Re: how to force Integrator to output jms_text type message?

    ‏2016-12-16T21:30:52Z  
    • bs9317
    • ‏2016-12-16T16:35:50Z

    I have a similar problem and I did try using RCD node but with V9.* looks like 'jms_text' has been removed. Is there any other way to enforce message domain as 'jms_text'?

    It worked now. Just retained the headers from incoming message by using "finalize none" on propagate, so that the output message goes out from broker with the same header info.