[jboss-user] [jBPM] - Re: Getting task summaries

Thomas Setiabudi do-not-reply at jboss.com
Thu Dec 20 19:41:30 EST 2012


Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion

"Re: Getting task summaries"

To view the discussion, visit: https://community.jboss.org/message/784376#784376

--------------------------------------------------------------
Hi Gareth Edwards, 

Try to use different client name everytime you create a task client.

In your code there, you always use "client 1" as the task client name. Maybe you can add a random value, maybe something like this

 TaskClient client = new TaskClient(new HornetQTaskClientConnector("client 1" + String.valueOf(java.lang.Math.random()) , new HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener()))); 
        client.connect("10.0.0.101", 5153);


Regards,
Thomas Setiabudi

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/784376#784376]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121220/1915bec0/attachment.html 


More information about the jboss-user mailing list