Maybe we need a flag on the properties whether to create or not if it
can't find the destination?
Paul
On 3/12/07, Gerald Loeffler <[EMAIL PROTECTED]> wrote:
On 12/03/07, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
> Hi Gerald
> > does connecting the JMSListener to an existing topic (with proxy
> > property transport.jms.Destination) - rather than having it create its
> > own queue - actually work?
> Yes, this should work with 0.91
>
> Could you include the following line in your log4j.configuration file
> and send me the output?
> log4j.category.org.apache.axis2.transport.jms=DEBUG
>
> You should see a WARN message of "Cannot find destination..." before a
> attempt is made to create a Queue (as for ActiveMQ this maybe the case)
here is the more detailed log-output - thanks for looking into this!:
----------------------------------
[SynapseHTTPServer] Started HTTP on port : 8080
INFO [12 Mar 13:15:19] DefaultConnectionListener - Listening on port 8080
DEBUG [12 Mar 13:15:19] DefaultConnectionListener - Waiting for
incoming HTTP connection
DEBUG [12 Mar 13:15:19] JMSConnectionFactory - Connected to the
actual connection factory : UIL2ConnectionFactory
INFO [12 Mar 13:15:20] JMSListener - JMS Transport Receiver
(Listener) initialized...
DEBUG [12 Mar 13:15:20] JMSConnectionFactory - Connection factory :
default initializing...
WARN [12 Mar 13:15:20] JMSConnectionFactory - Cannot find
destination : synapse Creating a Queue with this name
ERROR [12 Mar 13:15:20] JMSListener - Error starting connection
factory : default
javax.jms.JMSException: This destination does not exist !QUEUE.synapse
at
org.jboss.mq.server.JMSDestinationManager.createQueue(JMSDestinationManager.java:613)
at
org.jboss.mq.server.JMSServerInterceptorSupport.createQueue(JMSServerInterceptorSupport.java:111)
at
org.jboss.mq.server.TracingInterceptor.createQueue(TracingInterceptor.java:259)
at
org.jboss.mq.server.JMSServerInvoker.createQueue(JMSServerInvoker.java:117)
at
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:136)
at
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)
-----------------------------------------
>
> asankha
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://www.gerald-loeffler.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]