[jbpm-dev] [jBPM Development] - Re: jpdl syntax for jms activity
tom.baeyens@jboss.com
do-not-reply at jboss.com
Thu Dec 10 04:09:48 EST 2009
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#4269946
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269946
More information about the jbpm-dev
mailing list