synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sadeep Jayasumana (JIRA)" <>
Subject [jira] [Commented] (SYNAPSE-838) EJB support for Synapse
Date Sun, 21 Jul 2013 01:37:46 GMT


Sadeep Jayasumana commented on SYNAPSE-838:

Hi Hiranya,

The sample is not checked in yet. That was the reason for keeping this open.

The sample has a dependency to javaee.javaee-api which is not used by any other part of Synapse.
Furthermore, integrating this sample to the usual framework requires some significant modifications
to the stockquote client code or writing a new client (please see
I'm not sure whether these changes are worth it, since it's just one sample.

WDYT? What would be the best way to add this sample to Synapse?
> EJB support for Synapse
> -----------------------
>                 Key: SYNAPSE-838
>                 URL:
>             Project: Synapse
>          Issue Type: New Feature
>            Reporter: Sadeep Jayasumana
>            Assignee: Sadeep Jayasumana
>         Attachments: EJB_Support_for_Synapse.patch,
> 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>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message