Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      This feature enables Synapse to call external EJBs within the mediation sequence. This feature adds two new mediators, namely, <bean> and <ejb>.

      Bean mediator - Bean mediator can manipulate a JavaBean that is bound to the Synapse message context as a property. This mediator can be used to create a new bean (CREATE action), remove an existing bean (REMOVE action), set a property of an existing JavaBean (SET_PROPERTY action) or to retrieve a property of an existing JavaBean (GET_PROPERTY action). Classes of objects manipulated by this mediator must follow the JavaBeans specification.

      <bean action="CREATE | REMOVE | SET_PROPERTY | GET_PROPERTY" var="string"
      [class="string"] [property="string"]
      [value="string |

      {xpath}"] />


      EJB Mediator - EJB mediator calls an external Enterprise JavaBean(EJB) and stores the result in the message payload or in a message context property. Currently, this mediator supports EJB3 Stateless Session Beans and Stateful Session Beans.

      <ejb beanstalk="string" class="string" [sessionId="string"] [remove="true | false"]
      [method="string"] [target="string | {xpath}

      "] [jndiName="string"] />
      <args>
      <arg (value="string |

      {xpath}

      ")/>*
      </args>
      </ejb>

      1. EJB_Support_for_Synapse.patch
        89 kB
        Sadeep Jayasumana
      2. Synapse-EJB-Sample.zip
        23 kB
        Sadeep Jayasumana

        Activity

        Hiranya Jayathilaka made changes -
        Fix Version/s 3.0 [ 12324903 ]
        Sadeep Jayasumana made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Sadeep Jayasumana made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Sadeep Jayasumana made changes -
        Assignee Sadeep Jayasumana [ sadeep ]
        Sadeep Jayasumana made changes -
        Attachment Synapse-EJB-Sample.zip [ 12510885 ]
        Sadeep Jayasumana made changes -
        Field Original Value New Value
        Attachment EJB_Support_for_Synapse.patch [ 12510877 ]
        Sadeep Jayasumana created issue -

          People

          • Assignee:
            Sadeep Jayasumana
            Reporter:
            Sadeep Jayasumana
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development