Hi,

For JMS, we specify the endpoint to register the service when invoking
Endpoint.publish(address, impl)

Also, we specify the url as the jndiDestinationName attribute of jms:address
element in the wsdl port definition.

The jndiDestinationName must be registered in jndi server or name not found
exception is thrown.

So, if we are giving the jndi destination url in wsdl file, what is the use
of giving the endpoint address when calling Endpoint.publish(string,
object)?

What does this message in the logs imply (I gave this url to
Endpoint.publish whereas, in wsdl I am using the url jms://MyQueue):

INFO: Setting the server's publish address to be jms://MyNew2Queue

I realize that it works properly if we give the same url at both the places
and have the destination registered in jndi.

Thanks much for the help!

Regards
Mayank
 
****************************************************************************
****************************
 This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!



Reply via email to