Honestly, with 2.1.3, I'm not sure there is a way. I don't see one. :-(
Dan
On Wed July 15 2009 6:31:15 am inalasuresh wrote:
> Hi One & All ,
>
> Problem getting jndiconnectionFactoryname at runtime.
>
> How can I get jndiconnectionFactoryname.
>
> in wsdl i configured jms address as follows:
>
>
>
>
>
> 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…
--
Daniel Kulp
[email protected]
http://www.dankulp.com/blog