axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (AXIS2-5566) Missing destination type in JMS transport causes an NPE
Date Fri, 10 May 2013 11:17:16 GMT

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

Andreas Veithen moved TRANSPORTS-48 to AXIS2-5566:
--------------------------------------------------

          Component/s:     (was: JMS)
                       JMS
        Fix Version/s:     (was: 1.7.0)
                       1.6.3
                       1.7.0
    Affects Version/s:     (was: 1.7.0)
                  Key: AXIS2-5566  (was: TRANSPORTS-48)
              Project: Axis2  (was: Axis2 Transports)
    
> Missing destination type in JMS transport causes an NPE
> -------------------------------------------------------
>
>                 Key: AXIS2-5566
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5566
>             Project: Axis2
>          Issue Type: Bug
>          Components: JMS
>            Reporter: Vijayaratha Vijayasingam
>            Priority: Critical
>             Fix For: 1.7.0, 1.6.3
>
>         Attachments: jmstransport.patch
>
>
> When we define an endpoint like[1] and [2] NPE occurs in the 2nd case..
> [1]jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616&amp;transport.jms.DestinationType=queue
> [2]
> jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61616
>  According to the axis2 jms transport guide.[3], if we don't define the destination type
in endpoint uri, that will be treated as 'queue',
> "transport.jms.DestinationType (Optional)
>     The JMS destination type. Accept values 'queue' or 'topic' (default: queue)."
> Here , i have attached the patch for jms transport module, according to my assumption..please
check and commit...
> [3]http://axis.apache.org/axis2/java/transports/jms.html

--
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: http://www.atlassian.com/software/jira

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


Mime
View raw message