Skip to Content
avatar image
Former Member

I am gettng Null value for file when i am using a UDF as this

String FName;

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

DynamicConfigurationKey key = DynamicConfigurationKey.create("http:/"+"/", "FileName");

FName = Conf.get (key);

if (FName == null)

return "null";


return FName

and my error is

Attempt to process file failed with The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message headplease any on there to help me

thanking you


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 27, 2008 at 09:31 AM


    Did u selected the option filename from the Adapter message specific atribute of file adapter.

    When u run the whole scneario that time this will work if u run the scneario using test message tab of message mapping it will give null value only.

    THe AMSA will work when u test it end to end.

    check it out.

    Advance parameter in file adapter dynamic file name

    Problem in dynamic file name in File reciever adapater




    Add comment
    10|10000 characters needed characters exceeded