JBoss Community

Smooks - Possibility to set message property from within smooks ?

created by Dennis Suhari in JBoss ESB Development - View the full discussion

Hello experts,

 

is it possible to set a user message property from within smooks ?

 

Normally you can set user message properties from within Java like this:

 

1) message.getProperties().setProperty("com.xxx.yyy.uuu","blahblah")

 

and Smooks Config. look typically like this

 

2)

 

   <resource-config selector="INVOICE/HEAD">

        <resource>org.milyn.javabean.BeanPopulator</resource>

        <param name="beanId">invoiceHeader</param>

        <param name="beanClass">java.util.HashMap</param>

        <param name="bindings">

            <binding property="invoiceNo" type="String" selector="INVOICE_NO" />

      ...

        </param>       

    </resource-config>

 

 

How is it possible to set a message property (see (1)) within (2) ?

 

Br,

 

Dennis

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community