[jboss-dev-forums] [jBPM Development] - Re: Timer error
abhijit passi
do-not-reply at jboss.com
Wed Jan 12 23:10:10 EST 2011
abhijit passi [http://community.jboss.org/people/passiabhijit] created the discussion
"Re: Timer error"
To view the discussion, visit: http://community.jboss.org/message/580448#580448
--------------------------------------------------------------
it worked out using event, following is the code that worked for me
<node name="FetchUserEsb">
<event type="node-enter">
<create-timer duedate="10 seconds" transition="TimeOut"></create-timer>
</event>
<action
class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>FetchUserAlfrescoCat</esbCategoryName>
<esbServiceName>FetchUserAlfrescoServ</esbServiceName>
<exceptionTransition>exception</exceptionTransition>
<bpmToEsbVars />
<esbToBpmVars>
<mapping esb="BODY_CONTENT" bpm="userList" />
</esbToBpmVars>
</action>
<transition to="MailSetUpNode" name="MailSetUpNode"></transition>
<transition to="ExceptionNode" name="exception"></transition>
<transition to="TimeOut" name="TimeOut"></transition>
</node>
Don't know why previous didnt work, it just threw an error after the time completed
the error was : ERROR [org.jboss.soa.esb.services.jbpm.integration.job.ExecuteTimerCommand] Timer retry count exceeded for timer 2358
If anyone knows about the error, do let me know.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580448#580448]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110112/a1c95629/attachment.html
More information about the jboss-dev-forums
mailing list