JBoss Community

Re: HornetQ taskclient connection exceptions.

created by Arun Selva in jBPM - View the full discussion

I have also found two types of client connections.

 

1.     AsyncTaskService  client = new AsyncHornetQTaskClient();

        client.connect("127.0.0.1", 5445);

 

2.     TaskService  client = new SyncTaskServiceWrapper(new AsyncHornetQTaskClient());

        client.connect("127.0.0.1", 5445);

 

which one should i prefer, at which scenarios.?

Reply to this message by going to Community

Start a new discussion in jBPM at Community