Hang on Session close

2008-02-04 Thread Venkatg
ActiveMQ is getting hang forever when trying to close the session. Here is the thread dump. In our application when ever we need to change the selector we close the session and consumer. Then recreate the session and consumer with new selector. Sometimes when trying to close the session ActiveNQ

Re: Active MQ broker embedded with spring configuration problems

2008-02-04 Thread tbenge
I ran into the same problem. The networkConnectors need to be first in the XML declaration. amq:broker brokerName=BrokerA useJmx=true persistent=true amq:networkConnectors amq:networkConnector uri=static:(tcp://hostname:61616) dynamicOnly=false

Re: Active MQ broker embedded with spring configuration problems

2008-02-04 Thread ttmdev
Here's a sample spring cfg file that I've used to start an 'embedded' ActiveMQ broker. Note how the connectionFactory bean points the embedded broker to an external ActiveMQ broker cfg file, which I have also included below. Within the broker cfg file you can define your transport and network

openwire CSharpGeneratorTask fails to create C# classes from java src

2008-02-04 Thread george mullen
I am trying to user org.apache.activemq.openwire.tool.CSharpGeneratorTask to generate C# classes for communication between ActiveMQ NMS C# client application and ActiveMQ JMS java server-side apps using openwire protocol I can send simple ITextMessage messages fine however when I send

Re: Hang on Session close

2008-02-04 Thread ttmdev
It looks to me like your message listener is blocked. If there is a message listener in-progress, the close method for a session or consumer blocks until that in-progress message listener has completed. You don't have to close the session to change a selector. Close your existing consumer and

Re: Exception : factory:java.io.IOException

2008-02-04 Thread ttmdev
Can't help you re the exception you're getting. However, I do suggest that if you do not require the jetty servlet engine, that you comment it out of your embedded broker's xml cfg file. Not running the servlet engine really cuts down on the overall total number of threads created by the jvm and

Bridge to Oracle AQ

2008-02-04 Thread vjarnot
Hi, We're trying to bridge ActiveMQ 5.0.0 to Oracle AQ and encountering some problems. I've got ActiveMQ connecting to Oracle AQ via remote JNDI lookup. I've been able to configure the inboundtopicbridge to get messages from a topic on Oracle AQ and put them on a topic in ActiveMQ - sort