Very sorry - the forum software removed some words I had in angle brackets. The last part
should have read as follows....
anonymous wrote :
| So on the ListenerConfig we now specify a set of 1+ "actions" to be
performed on the message payload picked up by the Listener/Poller. In the current arch we
only specify a single "actionClass".
|
| So with what I've done so far, these actions have names that are mapped to the
ActionProcessor implementation that performs that processing action on the message
payload. This mapping is done in the Actions section. From the sample config above
you'll see that in this model an ActionProcessor can perform multiple message
processing actions. You'll also see that each Action config can have 1+ property
settings associated with it.
|
| The ability to support multiple "message processing actions" through a
single ActionProcessor impl is of particular use to a Transformation Service (e.g. a
Smooks based Service). The name of the action can be interpretted as the transformation
to be performed on the message payload.
|
| To see a simple JUnit test that uses this new model see GpListenerUnitTest.java in
SVN. The config file this test uses is GpListener-Config-01.xml and the test
ActionProcessor implementations it uses are in the actions package under the test folder.
|
| I won't go into any more detail here now. Hopefully I'll get some feedback
and I'll let that drive the thread.
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971030#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...