Skip to Content
author's profile photo Former Member
Former Member

how to pass JMS header Information to proxy field

Hi,

I am working with JMS to Proxy scenario (Synchronous).

I am getting one header field at sender JMS channel which need to be mapped with one of the Proxy field.

and similarly when proxy returning one field value that need to be mapped with receiver channel header information.

could any one help me on how to achieve this.

regards,

Navneet

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 01, 2009 at 04:02 PM

    use dynamic configuration to access the jms header field, pass the accessed value to a target field

    do ref - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name which will give you hints on how to use the dynamic configuration

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      >>Now My Question is how can I get Dynamic Configuration Key

      Like this

      1. switch on ASMA in sender JMS communication channel

      2 Assign this udf to target field

      UDF code

      DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

      DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSMessageProperty9";

      String valueOld = conf.get(key);

      return valueOld;

      3. Do a end to end testing (message mapping test will;l throw error)

      Regards

      Suraj

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.