Re: Setting a Master broker in a MasterSlave configuration

2013-07-05 Thread Hiram Chirino
FYI: in 5.9 the broker should handle auto restarting in that scenario. Sent from my iPhone On Jul 5, 2013, at 11:08 AM, hbakkum wrote: > Right, so I've tried to reproduce the issue again, but now the process does > indeed stop... perhaps I was imagining things :P > > However it still does no

Stomp Configuration

2013-07-05 Thread prgtrdr
I'm a bit confused by the config for Stomp and have found seemingly conflicting info in the documentation. Please help! I'm planning to have a stand-alone ActiveMQ server exposed to the public internet running on a Windows Server 2008 r2 (URL: my.webserver.com). There will be several local clien

Re: Lots of rubbish queues and topics are created after nessus scan

2013-07-05 Thread Juan Nin
Do you have the web console enabled? We experienced this same issue a couple times, and we believe it to have been via the web console. Since we protected it with user/passwd it didn't happen again. On Fri, Jul 5, 2013 at 5:53 AM, SuoNayi wrote: > Hi, I have enabled simpleAuthenticationPlugin

Re: Setting a Master broker in a MasterSlave configuration

2013-07-05 Thread Gary Tully
I had another look and it won't be that simple b/c the ioExceptionHandler does not restart the persistence adapter, it just waits for a checkpoint to complete. There is a JDBCIOExceptionHandler that validates the lock but if it is not valid it simply exits the broker. The idea behind the IOExcepti

Re: Setting a Master broker in a MasterSlave configuration

2013-07-05 Thread hbakkum
Right, so I've tried to reproduce the issue again, but now the process does indeed stop... perhaps I was imagining things :P However it still does not restart as I'd like. But if I'm interpreting your previous comment correctly I could achieve this by creating a custom Locker which wraps and dele

Re: Setting a Master broker in a MasterSlave configuration

2013-07-05 Thread hbakkum
Right, so I've tried to reproduce the issue again, but now the process does indeed stop... perhaps I was imagining things :P However it still does not restart as I'd like. But if I'm interpreting your previous comment correctly I could achieve this by creating a custom Locker which wraps and dele

Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-05 Thread Pablo Rodríguez Rey
Hello, I'm Pablo, from the IT of the University of Murcia. I'm new to the Message Queue Services and I've registered here to learn more about ActiveMQ day-to-day activity. Also, I've a question about mixing AMQP 1.0 Filters/Selectors. I don't know how to make a selector for filtering the Priority

Re: ActiveMQ-CPP - Rollback function returns but the server isn't done rollbacking

2013-07-05 Thread cineva
Thanks, I got it to work. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-Rollback-function-returns-but-the-server-isn-t-done-rollbacking-tp4668896p4668925.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ-CPP - Rollback function returns but the server isn't done rollbacking

2013-07-05 Thread Timothy Bish
On 07/05/2013 09:52 AM, cineva wrote: The test was a short version of what I'm trying to do. The following code depends on the time it takes from the rollback to the second receive. If I wait a while after the rollback the output is "received received" else it's "received not received". Is this h

Re: ActiveMQ-CPP - Rollback function returns but the server isn't done rollbacking

2013-07-05 Thread cineva
The test was a short version of what I'm trying to do. The following code depends on the time it takes from the rollback to the second receive. If I wait a while after the rollback the output is "received received" else it's "received not received". Is this how ActiveMQ-CPP and ActiveMQ are suppose

Change brokerURL for REST API connection factory

2013-07-05 Thread hbakkum
Hi, I'm using a client to publish messages via the ActiveMQ REST API. I have a single broker configured which is named *master-1*. Each time the broker receives a message I get the following warning: WARN | Broker localhost not started so using master-1 instead | org.apache.activemq.broker.Broke

Re: Composite destinations in old style ActiveMQ Spring configuration

2013-07-05 Thread Elvis Stansvik
With some help from dejanb on IRC I figured it out. It was a simple matter of passing "${jms.queue.audit},my_new_queue" as defaultDestinationName of the JmsTemplate, so much easier than I thought :) Best regards, Elvis Stansvik 2013/7/4 Elvis Stansvik > Hi everyone, > > I've recently been taske

Re: ActiveMQ-CPP - Rollback function returns but the server isn't done rollbacking

2013-07-05 Thread Timothy Bish
On 07/05/2013 08:22 AM, cineva wrote: My problem is that I expected to find "Another Test message" in the queue and not "Test message". If for example I insert a sleep after session->rollback(); the program runs as expected. Why does session->rollback(); return but the session isn't exactly rollb

Re: ActiveMQ-CPP - Rollback function returns but the server isn't done rollbacking

2013-07-05 Thread cineva
My problem is that I expected to find "Another Test message" in the queue and not "Test message". If for example I insert a sleep after session->rollback(); the program runs as expected. Why does session->rollback(); return but the session isn't exactly rollbacked? Is this the intended behavior?

Re: ActiveMQ in android client

2013-07-05 Thread Leonardo Torres
It´s great! I gonna make some tests. Thanks for reply On Fri, Jul 5, 2013 at 9:01 AM, Dejan Bosanac wrote: > Hi Leonardo, > > yeah, you can use Stomp Java lib to connect to the broker and consume from > queues https://github.com/fusesource/stompjms > > You can find here an example of android

Re: ActiveMQ-CPP - Rollback function returns but the server isn't done rollbacking

2013-07-05 Thread Timothy Bish
Not entirely sure what you are trying to accomplish here. You always commit the messages so they are going to get sent, and if you use the default redelivery policy the messages that a consumer receives but rolls back will get redelivered. On 07/05/2013 03:53 AM, cineva wrote: The following

Re: Is simpleauthentication required for vm broker url in activemq?

2013-07-05 Thread Dejan Bosanac
Yeah, the best way is to create a simple test that demonstrates what you're experiencing. It'll be easier to spot a problem with it. Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb Blog: http://sensatic.net Active

Re: ActiveMQ in android client

2013-07-05 Thread Dejan Bosanac
Hi Leonardo, yeah, you can use Stomp Java lib to connect to the broker and consume from queues https://github.com/fusesource/stompjms You can find here an example of android app that does matt to talk to activemq with the similar lib https://github.com/jsherman1/android-mqtt-demo MQTT may be a b

Re: Setting a Master broker in a MasterSlave configuration

2013-07-05 Thread Gary Tully
the idea is that it will stop and restart and on a restart become a slave again. What is keeping the java process up? Can you post a stack trace. We have the logic in the jdbcIoExceptionHandler to stopConnectors and restart when the lock can be required, but this kicks in when keepAlive gets an e

Lots of rubbish queues and topics are created after nessus scan

2013-07-05 Thread SuoNayi
Hi, I have enabled simpleAuthenticationPlugin and authorizationPlugin to protect my brokers from untrusted clients. Recently our broker is scanned by nessus for security check.I can ensure Nessus can not know our users and passwords. However many rubbish queues and topics are created after Nessus

ActiveMQ-CPP - Rollback function returns but the server isn't done rollbacking

2013-07-05 Thread cineva
The following program depends on the time it takes to rollback the session. If I run it in a debugger line by line it returns the correct behavior ("Another Test message" in "testqueue" queue) but if I let it run I get "Test message". Is this something by design (are only asynchronous rollbacks sup