Instead of last 2 lines of your code, u can use this :
HornetQHTWorkItemHandler taskHandler = new HornetQHTWorkItemHandler(ksession); taskHandler.setIpAddress(ipAddress); taskHandler.setPort(port);
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community