we should also consider the properties. e.g.
<jms name="send message"
| connectionFactory="ConnectionFactory"
| queue="queue/MyQueue">
| <text>
| This is the body
| </text>
| <property name="aString"><string value="txt"
/></property>
| <property name="aBoolean"><false /></property>
| <property name="aShort"><short value="8"
/></property>
| <property name="aByte"><byte value="8"
/></property>
| <property name="anInt"><int value="4"
/></property>
| <property name="aLong"><long value="8888888888"
/></property>
| ... and so on for all basic types...
|
| <property name="someExpression"
expr="#{person.address.number}" />
| <transition to="wait" />
| </jms>
|
for the expression, (and probably for the other basic types too) you can use the
setObjectProperty method. it only accepts the basic types that are supported. but we can
leave it to that jms message to throw an exception if a non-supported type is supplied via
the expression.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269946#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...