2010/5/21 Waruna Ranasinghe <waruna...@gmail.com>

> 2010/5/21 Rafal Rusin <ra...@intalio.com>
>
> > Hello,
> >
> > my suggestion is to use (and possibly extend) external Human Task
> > implementation and connect to it using INVOKEs.
> >
> Yes, I'm using an external Human Task engine.
>

Good.


> If we use INVOKEs, then how are we going to correlate messages?
>

By using BPEL correlation sets.


> Then we have to add an extra element to the response message from the tasks
> to correlate
> Is Apache HISE handles correlation as I mentioned above?
>

HISE returns task id in create task response SOAP header.



>
>
> Thnaks,
> Waruna
>
>
> > This way you will have better separation of components.
> > You can use Apache HISE for it (http://incubator.apache.org/hise/).
> >
> > On Thu, May 20, 2010 at 10:25 PM, Waruna Ranasinghe <waruna...@gmail.com
> > >wrote:
> >
> > > Hi Rafal,
> > >
> > > I'm trying to implement peopleActivity for BPEL4People as an BPEL
> > extension
> > > activity
> > > You may already aware of this and peopleActivity is a blocking
> activity.
> > >
> > > It is quite convenient to use an extension activity rather than a
> > separate
> > > process since we need to correlate messages and etc...
> > >
> > > So do you think that I should drop the extension and go for a separate
> > > process?
> > > WDYT?
> > >
> > >
> > > Thanks,
> > > Waruna
> > >
> > > On 21 May 2010 10:19, Rafal Rusin <ra...@intalio.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > is it possible to decompose your extension activity into a process,
> > which
> > > > will wait for few hours and invoke only
> > > > quick parts of code?
> > > >
> > > > On 12 May 2010 23:51, Waruna Ranasinghe <waruna...@gmail.com> wrote:
> > > > > Hi devs,
> > > > >
> > > > > I have been writing a bpel extension activity which does an
> external
> > > > service
> > > > > call and waits for the response.
> > > > > The activity itself is a blocking activity. It may have to wait for
> > > hours
> > > > to
> > > > > get the response, so that it may take hours to complete the
> activity.
> > > > >
> > > > > Problem is, If I create few instances from this process, after
> > sometime
> > > > it
> > > > > will complain about getting database connections saying that "No
> > > > > ManagedConnections available within configured blocking timeout (
> > 30000
> > > > [ms]
> > > > > ) for pool
> > > > >
> > org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor"
> > > > >
> > > > > I think this happens due to the Extension activity which takes
> hours
> > to
> > > > get
> > > > > completed, so that the db connection also holds on to it until the
> > > > activity
> > > > > get completed
> > > > >
> > > > > Therefore, If we can close the connection after external service
> > call,
> > > I
> > > > > think we can fix this issue.
> > > > >
> > > > > Any body aware of how to close the db connection within an
> extension
> > > > > activity or any other work around??
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Waruna
> > > > >
> > > > >
> > > > > --
> > > > > -----------------------------------------------------
> > > > > Regards,
> > > > > Waruna Ranasinghe
> > > > > BLOG: http://warunapw.blogspot.com
> > > > >
> > > >
> > > > --
> > > > Regards,
> > > > Rafał Rusin
> > > > http://rrusin.blogspot.com
> > > >
> > >
> > >
> > >
> > > --
> > > -----------------------------------------------------
> > > Regards,
> > > Waruna Ranasinghe
> > > BLOG: http://warunapw.blogspot.com
> > >
> >
> > --
> > Regards,
> > Rafał Rusin
> > http://rrusin.blogspot.com
> >
>
>
>
> --
> -----------------------------------------------------
> Regards,
> Waruna Ranasinghe
> BLOG: http://warunapw.blogspot.com
>



-- 
Regards,
Rafał Rusin
http://rrusin.blogspot.com

Reply via email to