Lost Messages send to not connected REST Consumers

2012-04-24 Thread lyth
Hi, I am writing a REST Client hat connects to broker with the url: http://localhost:8161/demo/message/FOO/BAR?type=queueclientId=consumerA But when I close the connection and didn't previously unsubscribe with that clientId, messages send to queue FOO.BAR where still dequeued, but get lost

Test Hanging On CI Server

2012-04-24 Thread James Carr
Hi All, I'm using activeMQ to provided an embedded JMS environment for testing and while my tests work fine on windows and ubuntu linux, it hangs on our Jenkins CI server (which is running Oracle Enterprise Linux). Here's the unit test, slimmed down to ignore all the noise while I was trying to

Re: Configuring SSL on default Broker

2012-04-24 Thread Chris Odom
Furthering debugging of the issue has revealed that the create SslSocketConnector's sslContextFactory does not have the keyStore created as in, its null. I have also noticed that when using either configuration below the keyStorePassword is mucked up as well: !-- SSL context used for both http(s)

Re: Configuring SSL on default Broker

2012-04-24 Thread Chris Odom
Further debugging reveals that the SpringSSLContext is parsed correctly from the activemq-broker.xml but during the binding process I found this: org.apache.activemq.transport.TransportFactory public static TransportServer bind(BrokerService brokerService, URI location) throws IOException {

HTML/JS works in Demo but not under JBOSS 7.1 / Eclipse

2012-04-24 Thread woodstockrich
I modified the portfolio demo to do what I need and works great when in the webapps/demo directory. I need to now move/merge this into our existing code which will be deployed in JBOSS 7.1. The web page comes up, and I've stepped through the amq initialization and it looks ok, but the

Re: HTML/JS works in Demo but not under JBOSS 7.1 / Eclipse

2012-04-24 Thread woodstockrich
I actually don't need the pollHandler. I just need to be able to receive messages where I added the listener, and send messages to the queue I've defined. -- View this message in context:

Re: HTML/JS works in Demo but not under JBOSS 7.1 / Eclipse

2012-04-24 Thread woodstockrich
Narrowing it down further. Fiddler shows that the /amq calls returns the following text (inside HTML): requested resource (/amq) is not available So I think it is just a matter of bringing in the AJAX servlet? I /thought/ I had done that, but I'll check again tomorrow. -- View this message