[jboss-dev-forums] [JBoss ESB Development] - Annotation based Action classes

Tom Fennelly do-not-reply at jboss.com
Sat Apr 24 04:29:21 EDT 2010


Tom Fennelly [http://community.jboss.org/people/tfennelly] replied to the discussion

"Annotation based Action classes"

To view the discussion, visit: http://community.jboss.org/message/539337#539337

--------------------------------------------------------------
Hi Burr.

Yes... obviously testing would be easier since you don't need to deal with ConfigTree... just use setters.  The @ConfigProperty can also be placed on a setter instead of the field.

As for an example config, you'd just need an action beforehand that performs a "to-Order" transform, setting the created Order on the Message payload.

Also, as hinted to above.... we could support auto-binding (unmarshalling).

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/539337#539337]

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/20100424/660d4f2a/attachment.html 


More information about the jboss-dev-forums mailing list