inalasuresh wrote:
>
> Hi One & All ,
>
> Problem getting jndiconnectionFactoryname at runtime.
>
> How can I get jndiconnectionFactoryname.
>
> in wsdl i configured jms address as follows:
> <jms:address jndiConnectionFactoryName="ConnectionFactory"
> jndiDestinationName="dynamicQueues/test.Celtix.jmstransport">
> <jms:JMSNamingProperty name="java.naming.factory.initial"
> value="org.apache.activemq.jndi.ActiveMQInitialContextFactory" />
> <jms:JMSNamingProperty name="java.naming.provider.url"
> value="tcp://localhost:61610" />
> </jms:address>
>
> at runtime i am able to get providerurl & initial contex factory using
> below code.
> JMSDestination jmsInfo = (JMSDestination)
> message.get("org.apache.cxf.transport.Destination");
> In this JMSDestination object I haven’t see any jndiconnectionFactoryname.
>
> while debugging I inspect Message object but I can’t find any
> JNDIConnectionFactoryName.
>
> I dig inside cxf api as well.
> I found some changes in cxf-2.0.10 & cxf-2.1.3 that was in transport.jms
> package JNDIConfiuration class file is not available in cxf-2.1.3.
>
> i tried with cxf-2.0.10 for this api i am able to get
> jndiconnectionFactoryname.
>
> As per my requirement i have to use cxf-2.1.3.
> How could i acheive to get the jndiconnectionFactoryname.
>
> Please give me the suggestions / help me out.
> Thanks in advance…
>
--
View this message in context:
http://www.nabble.com/How-to-get-jndiconnectionFactoryname-using-cxf-2.1.3-tp24495328p24495380.html
Sent from the cxf-user mailing list archive at Nabble.com.