"mark.little(a)jboss.com" wrote : So you're saying that you will never want to
deploy multiple actions of the same type within the same chain? Seems like an artifical
limitation, but maybe I'm missing something ;-)?
I think what you're missing is the difference between the actions "name" and
"class". One should be allowed to have multiple action instances having the
same "class" attribute value on a single action pipeline, but each of these must
have a unique "name" for that chain e.g. in the following action chain, we have
2 transformers with the same "class", but different "name"s. The
"name" is what we could use in the global version of this actions name.
| <action name="transform_01"
class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
| <property name="resource-config"
value="/smooks-res_01.xml" />
| </action>
|
| <action name="my_blah_action"
class="com.acme.SomeOtherAction" />
|
| <action name="transform_02"
class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
| <property name="resource-config"
value="/smooks-res-02.xml" />
| </action>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062604#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...