JBoss Community

Re: Getting task summaries

created by Thomas Setiabudi in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community