[jboss-dev-forums] [JBoss ESB Development] - Smooks - Possibility to set message property from within smooks ?
Dennis Suhari
do-not-reply at jboss.com
Thu May 26 07:30:01 EDT 2011
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&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110526/c262c8e7/attachment.html
More information about the jboss-dev-forums
mailing list