Skip to Content
avatar image
Former Member

Additional JMS Message Properties

Hi Guru's,

I am looking for a solution to dynamicly set the filename for JMS receiver adapter. What I have found so far is that this should be done with the Additional JMS Message Properties...

Based on a field from the source structure I want to determine the filename which will be send via the JMS adapter. Is there any documentation available on how to achieve this?

Best regards,

Guido Koopmann

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 29, 2010 at 07:58 AM

    I have written an UDF to determine the filename dynamicly:

    //write your code here

    String str = "SAPDATA-" + a + "ES" + ".xml";

    DynamicConfiguration conf = (DynamicConfiguration)

    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");

    conf.put(FileName, str);

    return "";

    Add comment
    10|10000 characters needed characters exceeded