Here is an example with configuration file [1], if you don't like the
configuration file, you could set the jmsConduit with below codes.
IHello hello = (IHello) factory.create();
Client client = ClientProxy.getClient(hello);
JMSConduit jmsConduit = (JMSConduit) client.getConduit();
ClientConfig clientConfig = new ClientConfig();
clientConfig.setClientReceiveTimeout(1000);
...
jmsConduit.setClientConfig(clientConfiguration);
AddressType address = new AddressType();
address.setConnectionUserName("testUser");
address.setConnectionPassword("testPasswd");
...
jmsConduit.setJMSAddress(address);
[1]
http://cwiki.apache.org/CXF20DOC/jax-ws-java-first-with-jms-transport.html
Willem
[EMAIL PROTECTED] wrote:
Is it possible to configure the client side with a JMS endpoint using
the API. If so is there an example of this?
Jan Stobbe - Technical Officer
Wealth Management USA - Architecture
AUBS Financial Services
1000/6 Harbor Boulevard
Weehawken, NJ 07086
'Phone #: (201) 352-2622
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Please do not transmit orders or instructions regarding a UBS account by
e-mail. The information provided in this e-mail or any attachments is not an
official transaction confirmation or account statement. For your protection, do
not include account numbers, Social Security numbers, credit card numbers,
passwords or other non-public information in your e-mail. Because the
information contained in this message may be privileged, confidential,
proprietary or otherwise protected from disclosure, please notify us
immediately by replying to this message and deleting it from your computer if
you have received this communication in error. Thank you.
UBS Financial Services Inc.
UBS International Inc.
UBS Financial Services Incorporated of Puerto Rico