Re: Network of Brokers - Connected but messages are not received on second broker

2016-12-12 Thread Tim Bain
You seem to be expecting your network of brokers to behave like a cluster. ActiveMQ doesn't support clustering; the closest we come is master/slave groups, but only one broker is active at a time so that's completely different. In a network of brokers, each broker is an independent entity that

cameRoutesBrokerPlugin namespace question

2016-12-12 Thread mtod
I'm working with ActiveMQ 5.14.1 and trying to get the camelRoutesBrokerPlugin to work with namespaces. when I setup a routes.xml file that uses the following: http://camel.apache.org/schema/spring; xmlns:km="http://xsdrepo..com/messaging/esb; >

Re: Artemis 1.5.0 fails to discover libAIO on Linux, falls back to NIO

2016-12-12 Thread Clebert Suconic
Nice one! 1.5.1 has been released, so perhaps this release will interest you. It's a safe move from 1.5.0 to 1.5.1. On Mon, Dec 12, 2016 at 1:00 PM, mlange wrote: > Quick reply: 1.5.0 source was easier to get atm (behind some proxies, so it's > hard to get to git), so followed

[ANNOUNCE] Apache Artemis 1.5.1 Released

2016-12-12 Thread Clebert Suconic
Apache ActiveMQ Artemis 1.5.1 has been released. The release notes is here: http://activemq.apache.org/artemis/release-notes-1.5.1.html This release has a few bug fixes, including a fix that will be critical of users using Paging under constant load: [ARTEMIS-748] - AddressSize show a

Re: Using embedded and standalone, switching on the fly.

2016-12-12 Thread appy
The configuration is same; if there are some messages in the queue when I switch, what will be the action of embedded to standalone i.e. will the standalone version allow the process to consume the messages or will it overwrite them? Delivery mode is set to PERSISTENT; hence I wish to know what

Re: Artemis 1.5.0 fails to discover libAIO on Linux, falls back to NIO

2016-12-12 Thread mlange
Quick reply: 1.5.0 source was easier to get atm (behind some proxies, so it's hard to get to git), so followed the instructions: they're clear, correct and worked like a charm. -- View this message in context:

Re: Artemis 1.5.0 fails to discover libAIO on Linux, falls back to NIO

2016-12-12 Thread mlange
Thanks; I'll try to get the new version and try to compile the libaio and see if that fixes this issue. -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-1-5-0-fails-to-discover-libAIO-on-Linux-falls-back-to-NIO-tp4720184p4720195.html Sent from the ActiveMQ - User

Re: Is BrokerFilter a "blocking" interceptor?

2016-12-12 Thread Devlin
Thank you -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-BrokerFilter-a-blocking-interceptor-tp4720182p4720194.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Using embedded and standalone, switching on the fly.

2016-12-12 Thread Christopher Shannon
You should be able to switch without an issue as long as your configuration is the same between your XML config for standalone and and your embedded config. On Mon, Dec 12, 2016 at 3:42 AM, appy wrote: > Hello, > > I am using activeMQ embedded currently and would like to

Re: Artemis 1.5.0 fails to discover libAIO on Linux, falls back to NIO

2016-12-12 Thread Clebert Suconic
Perhaps we used a newer Linux kernel (than yours) to compile the library and it wasn't compatible with your libc. you could compile the library yourself from the source distribution. I recommend you moving straight to 1.5.1 though. It's already tagged and I made the upload today. I'm just

Re: Is BrokerFilter a "blocking" interceptor?

2016-12-12 Thread Christopher Shannon
Yes, it is blocking. The BrokerFilter class implements Broker and simply delegates to the parent Broker so if whatever you are doing is stuck then processing won't continue. If you were to print out a stacktrace from inside one of those methods you will see that there are many BrokerFilter

Artemis 1.5.0 fails to discover libAIO on Linux, falls back to NIO

2016-12-12 Thread mlange
I have a RHEL 6.7 server wich has LibAIO installed, using Java 1.8.0_102 Artemis 1.4.0 finds and uses it with no problem, as this log line shows: 17:18:30,060 INFO [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal When I create a broker with the same parameters on the same

Is BrokerFilter a "blocking" interceptor?

2016-12-12 Thread Devlin
We're experimenting with BrokerFilter to capture detailed info of producer, consumer, message headers, etc., for logging and analysis, and want to be very careful to avoid delaying or blocking the broker. If a broker interceptor, for whatever reason, got stuck, would that block a broker thread

Re: Errors on filter

2016-12-12 Thread ALi
this is the code .as authorization plugin private void validateIfCreationDateIsExpired(long now, long creationDate) { if (now > creationDate + this.minutesToExpire * 6) { String creationDateAsString = DATE_FORMAT.format(new Date(creationDate)); String nowAsString =

Using embedded and standalone, switching on the fly.

2016-12-12 Thread appy
Hello, I am using activeMQ embedded currently and would like to switch to the standalone version. Can I use both of them simultaneously; switching in between them on the fly? How will this affect KahaDB if the Queues and Topics are the same? -- View this message in context: