You MIGHT be able to do this:

factory.setStart(false);
Server serv = factory.create();
JMSDestination dest = (JMSDestination)serv.getDestination();
AddressType address = dest.getJMSAddress();
address.setJndiDestinationName(....);
....
serv.start();


Dan



On Friday 29 February 2008, Ayush Gupta wrote:
> The documentation talks about configuring JMS transport for a service
> via either WSDL or through cxf.xml. Is there a way that I can set or
> override these properties using code? More specifically, I'd like to
> set the following things at runtime:
>
> 1.       jndiDestinationName
>
> 2.       jndiReplyDestinationName
>
> 3.       The "java.naming.provider.url" JMSNamingProperty
>
>
>
> I'm guessing that this has to be done before I call create() on my JMS
> instance of JaxWsServerFactoryBean. Any thoughts on how I can do this?
>
>
>
> Thanks
>
> -ayush



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to