Maybe that's the part I don't understand.  I'm using openjms and I created a 
queue called Version and sent it to that queue using jms:
 
TextMessage message = session.createTextMessage();
message.setText(text);
sender.send(message);
 
How am i supposed to be using the URL?  I saw that in the example but wasn't 
clear on it.
 
Peter



Date: Tue, 4 Dec 2007 14:51:02 +1300From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: 
Re: JMSSender to queue
What URL did you use for your service endpoint in your client code?e.g. 
jms:/topic.....Peter Kipping wrote: 


I am doing the jms transport example and I get the following error: 2007-12-03 
15:01:42,288 ERROR org.apache.axis2.transport.jms.JMSSender - Cannotsend reply 
to unknown JMS DestinationException in thread "JMSWorker-6" 
org.apache.axis2.transport.jms.AxisJMSException: Cannot send reply to unknown 
JMS Destination        at 
org.apache.axis2.transport.jms.JMSSender.handleException(JMSSender.java:318)    
    at org.apache.axis2.transport.jms.JMSSender.invoke(JMSSender.java:111)      
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)        at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:48)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)      
  at 
org.apache.axis2.transport.jms.JMSMessageReceiver$Worker.run(JMSMessageReceiver.java:249)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:619) I have axis using the name of 
the service (Version) as the name of the input queue, but do I need a different 
queue for JMSSender to send it's response on?  How do I configure this? 
Thanks,Pete

Connect and share in new ways with Windows Live. Connect now!-- 

Anthony
------------------------------------- 
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand
 
[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
------------------------------------- 
www.bcsoft.co.nz
--------------------------------------------------------------- 
This email may contain confidential or privileged information, 
and is intended for use only by the addressee, or addressees. 
If you are not the intended recipient please advise the sender 
immediately and do not copy, use or disclose the contents to 
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses 
received with this email, or to any changes made to the original 
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black 
Coffee Software Ltd.
--------------------------------------------------------------- 
--------------------------------------------------------------------- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL 
PROTECTED] 
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007

Reply via email to