You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Upul Godage (JIRA)" <ji...@apache.org> on 2007/12/07 05:47:43 UTC

[jira] Resolved: (SYNAPSE-183) It should be possible to re-use the JMS connection information from the axis2.xml JMSSender when specifying JMS EPRs

     [ https://issues.apache.org/jira/browse/SYNAPSE-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Upul Godage resolved SYNAPSE-183.
---------------------------------

    Resolution: Fixed

Fixed

When connection factory details are defined in axis2.xml for jms sender,
    <transportSender name="jms"
                     class="org.apache.synapse.transport.jms.JMSSender">
      <parameter name="myQueueConnectionFactory">
        <parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
        <parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
        <parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
      </parameter>
    </transportSender>

Can be used as,
<address uri="jms:/SimpleStockQuoteService?transport.jms.ConnectionFactory=myQueueConnectionFactory"/>

> It should be possible to re-use the JMS connection information from the axis2.xml JMSSender when specifying JMS EPRs
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-183
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-183
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Asankha C. Perera
>
> The JMSSender now supports the definition of connection factory entries as follows:
> <transportSender name="jms" class="org.apache.synapse.transport.jms.JMSSender">
>         <parameter name="myQueueConnectionFactory">
>             <parameter name="java.naming.factory.initial">com.swiftmq.jndi.InitialContextFactoryImpl</parameter>
>             <parameter name="java.naming.provider.url">smqp://10.25.51.38:18000/type=com.swiftmq.net.JSSESocketFactory;timeout=10000</parameter>
>             <parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
>             <parameter name="java.naming.security.principal">xxxadapter</parameter>
>             <parameter name="java.naming.security.credentials">xxxadapter</parameter>
>         </parameter>
> </transportSender>
> Thus it should be now possible to refer to this information when specifying a JMS EPR as:
> <syn:endpoint name="myJMSEndpoint">
>         <syn:address uri="jms:/QueueName@Somewhere?transport.jms.ConnectionFactory=myQueueConnectionFactory"/>
> </syn:endpoint>
> instead of specifying the IC class, url, username and password etc

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org