2 Replies Latest reply: Feb 17, 2009 1:17 AM by Daniel Bevenius RSS

jboss esb callback service definition

Milan Agatonovic Newbie

Hi,
I am using JBPM for a long time and recently I faced the usecase which seems more appropriate for JbossESB.
It is about N executions of async web services in paralel.
My questions are:
- how can I announce some WS to be asynchronous in JbossESB,
- how can I define the callback URL, retry handling, success and failure scenario?
A quick glance at docs, could not help me, but I might oversee something.

thanks for every hint or help,
milan

  • 1. Re: jboss esb callback service definition
    Milan Agatonovic Newbie

    Hi, I guess I asked something stupid, since there is no response.
    If so, can you point me to the relevant section in docs that I managed to oversee.

    Thanks,
    milan

  • 2. Re: jboss esb callback service definition
    Daniel Bevenius Master

    Hi,

    Hi, I guess I asked something stupid, since there is no response
    .
    Not at all. We have just had a release and been busy with it that is all.

    - how can I announce some WS to be asynchronous in JbossESB,

    Assuming that you mean that you want to expose a service in the esb as a webservice, take a look at the publish_as_webservice quickstart. Page 46 "Exposing an ESB service as a webservice" of the ProgrammerGuide gives some background on this feature.


    - how can I define the callback URL, retry handling, success and failure scenario?

    The ProgrammersGuide document discusses these features:
    Page 37 has a section named "Handling Reponses" I think will answer your question about the callback url.

    For the retry handling and secess and failure senarios please take a look at the "Advanced Topics" chapter in the ProgrammersGuide. This has subsections that fail-over and error handling. The chapter following named "Fault-tolerance and Reliability" might also be of interest.

    For the jBPM integration with the ESB this is covered by the ServicesGuide document.

    Regards,

    /Daniel