Dennis Suhari [
http://community.jboss.org/people/Garuda] created the discussion
"Smooks - Possibility to set message property from within smooks ?"
To view the discussion, visit:
http://community.jboss.org/message/607192#607192
--------------------------------------------------------------
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
[
http://community.jboss.org/message/607192#607192]
Start a new discussion in JBoss ESB Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]