ODE
  1. ODE
  2. ODE-889

Inter-process communication 'handler'

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BPEL Runtime
    • Labels:
      None

      Description

      The web service stacks that may be used with ODE (such as Axis2 or any jaxws provider) provide a means of defining handlers that can intercept messages being sent/received and perform various tasks.

      However with the inter-process communication feature in ODE, some communications do not use the integration stack, and therefore cannot be intercepted.

      Therefore I would like to request a mechanism be added to ODE to enable handlers to be registered and used with the inter-process communication mechanism.

        Activity

        Hide
        Gary Brown added a comment -

        Thanks Rafal, that did the trick.

        Although I will leave the jira open as I still think it would be good to be able to have some 'handler' mechanism that can observe the messages without having to disable the inter process comms mechanism.

        Show
        Gary Brown added a comment - Thanks Rafal, that did the trick. Although I will leave the jira open as I still think it would be good to be able to have some 'handler' mechanism that can observe the messages without having to disable the inter process comms mechanism.
        Hide
        Rafal Rusin added a comment -

        Actually there is already such mechanism. It's called usePeer2Peer="true|false".
        Here's test:
        https://svn.apache.org/repos/asf/ode/trunk/axis2-war/src/test/resources/TestNoP2P/deploy.xml

        Show
        Rafal Rusin added a comment - Actually there is already such mechanism. It's called usePeer2Peer="true|false". Here's test: https://svn.apache.org/repos/asf/ode/trunk/axis2-war/src/test/resources/TestNoP2P/deploy.xml
        Hide
        Gary Brown added a comment -

        Milinda, any pointers on where I should look to add a switch for disabling the inter-process comms mechanism?

        Show
        Gary Brown added a comment - Milinda, any pointers on where I should look to add a switch for disabling the inter-process comms mechanism?
        Hide
        Gary Brown added a comment -

        But then you loose the efficiency benefits of the inter-process mechanism - so there may be other reasons to have such a switch, but I don't think it should be necessary to disable the inter-process comms just to be able to intercept all of the messages.

        However, if it is a 'quick fix' to include such a switch, then I would be happy for the feature to be added as a short term solution

        Show
        Gary Brown added a comment - But then you loose the efficiency benefits of the inter-process mechanism - so there may be other reasons to have such a switch, but I don't think it should be necessary to disable the inter-process comms just to be able to intercept all of the messages. However, if it is a 'quick fix' to include such a switch, then I would be happy for the feature to be added as a short term solution
        Hide
        Milinda Lakmal Pathirage added a comment -

        How about giving option to disable inter process communication or some mechanism to avoid process-to-process communication when required. When instance cleanup is enabled process-to-process to communication can cause some errors due to deleted DB records.

        Show
        Milinda Lakmal Pathirage added a comment - How about giving option to disable inter process communication or some mechanism to avoid process-to-process communication when required. When instance cleanup is enabled process-to-process to communication can cause some errors due to deleted DB records.

          People

          • Assignee:
            Unassigned
            Reporter:
            Gary Brown
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development