about wlm correlation set

3 messages Options
Embed this post
Permalink
Wei Xiong

about wlm correlation set

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
hi, all experts
    I studied WLM sample http://wiki.open-esb.java.net/Wiki.jsp?page=WLMSE_Sample_UserGuide, and opened project Basic Purchase Order Sample. I checked its bepl file, and found that bpel invokes WLM webservice using synchronous request/response type. I am not sure if it can support long running process?
    as far as I know, bpm products usually use asynchronous receive activity and correlation sets to receive result returned by workflow.
   need more advice.
 
 
 
 

Xiong Wei
GC Software Practise Solution Architect
Global Sales and Services
Sun Microsystems, Inc.
Mobile:+86 13611346595
Tel: +86 10 85883715
Fax: +86 1068028988
Mei Wu-2

Re: about wlm correlation set

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi, Xiong Wei,

Yes, currently we support synchronous invocation between BPEL and WLM.
Yet, it is able to support long running process, because invocation in JBI is message based which does not involve blocking sockets as we usually think synchronous is. The only difference is that  the call to WLM has to wait till the task gets completed.
If you want to create tasks without waiting for tasks to be completed, you can use 2 BPELs to do that:
1. BP1 uses one-way to invoke BP2.
2. BP2 uses req/rep to invoke WLM.

Thus, BP1 will not block at the task creation, you can do correlation etc between BP1 and BP2.

Asynchronous maybe added in next release.

Thanks
Mei




Wei Xiong wrote:
hi, all experts
    I studied WLM sample http://wiki.open-esb.java.net/Wiki.jsp?page=WLMSE_Sample_UserGuide, and opened project Basic Purchase Order Sample. I checked its bepl file, and found that bpel invokes WLM webservice using synchronous request/response type. I am not sure if it can support long running process?
    as far as I know, bpm products usually use asynchronous receive activity and correlation sets to receive result returned by workflow.
   need more advice.
 
 
 
 

Xiong Wei
GC Software Practise Solution Architect
Global Sales and Services
Sun Microsystems, Inc.
Mobile:+86 13611346595
Tel: +86 10 85883715
Fax: +86 1068028988
Wei Xiong

Re: about wlm correlation set

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
hi, Mei
    thank a lot. 
xiong wei
----- Original Message -----
Sent: Friday, November 06, 2009 12:05 AM
Subject: Re: about wlm correlation set

Hi, Xiong Wei,

Yes, currently we support synchronous invocation between BPEL and WLM.
Yet, it is able to support long running process, because invocation in JBI is message based which does not involve blocking sockets as we usually think synchronous is. The only difference is that  the call to WLM has to wait till the task gets completed.
If you want to create tasks without waiting for tasks to be completed, you can use 2 BPELs to do that:
1. BP1 uses one-way to invoke BP2.
2. BP2 uses req/rep to invoke WLM.

Thus, BP1 will not block at the task creation, you can do correlation etc between BP1 and BP2.

Asynchronous maybe added in next release.

Thanks
Mei




Wei Xiong wrote:
hi, all experts
    I studied WLM sample http://wiki.open-esb.java.net/Wiki.jsp?page=WLMSE_Sample_UserGuide, and opened project Basic Purchase Order Sample. I checked its bepl file, and found that bpel invokes WLM webservice using synchronous request/response type. I am not sure if it can support long running process?
    as far as I know, bpm products usually use asynchronous receive activity and correlation sets to receive result returned by workflow.
   need more advice.
 
 
 
 

Xiong Wei
GC Software Practise Solution Architect
Global Sales and Services
Sun Microsystems, Inc.
Mobile:+86 13611346595
Tel: +86 10 85883715
Fax: +86 1068028988