Re: Migratiion of Queue data from HornetQ to Artemis 2.x

2018-02-02 Thread dharmendra
I debug lot but not able to find why this error comes if all things fine 2018-02-02 14:10:45,226 ERROR rejectedExecution Failed to submit a listener notification task. Event loop shut down? java.util.concurrent.RejectedExecutionException: event executor terminated - DKumar -- Sent from:

Re: Activemq to azure service bus or event hub

2018-02-02 Thread Tim Bain
I've never tried to do this myself, but I believe that an ActiveMQ broker can use the AMQP protocol (which Azure Service Bus supports) to connect to a remote broker, so I think you'd be able to set up a networkConnector using the AMQP transport and connect to an Azure Service Bus broker. If you

Re: Consumers hanging on a queue although there are messages in it

2018-02-02 Thread Tim Bain
If you're able to analyze the snapshot, that's great. If you want me to, I can. If you're using any custom broker plugins, it's possible that your package, class, and method names will appear in the stack trace information captured by the snapshot, so if you're using custom plugins, make sure you

Re: Migratiion of Queue data from HornetQ to Artemis 2.x

2018-02-02 Thread dharmendra
Thanks Enrich for the update and please let us know when 2.5.x version will be available. Apart from it I ran artemis server and it suddenly down after 10 hours running with below exception 13:16:22,551 ERROR [org.apache.activemq.artemis.core.server] AMQ224018: Failed to create session:

Re: Performance issue with Oracle backed AMQ

2018-02-02 Thread Tim Bain
I'm glad you found a solution (one that's already in the codebase, even). Is the driver one that we should be recognizing as an Oracle driver? Should we be writing a bug against the fact that we didn't recognize the driver? Or are you using a driver that's custom or exotic in some way? Tim On

Disable the Statistics from the Admin GUI

2018-02-02 Thread mjlehman99
I have upgrade from 5.11.1 to 5.15.0 for activemq. Now, when logged into the GUI console, there are alot of new "queues" that have ActiveMQ.Statistics.Destination in the name. I would like to know how to remove this from the GUI and it is alot of noise for me. What I have found looking through

Activemq to azure service bus or event hub

2018-02-02 Thread Tanahara
Is there any way to enable all topics to to broadcast to either of these or do I need to write a subscriber to do it. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Can i Use ActiveMq for .net application over amqp protocol

2018-02-02 Thread bittusrivastava
Hi, I am investigating as how can i use activeMQ for .net application. I want to use *AMQP* protocol as well. Can anyone please suggest any pointers as how to do it. there are many implementation but they are connecting to uri "tcp://localhost:61616" but i want to connect to

Re: Performance issue with Oracle backed AMQ

2018-02-02 Thread Nathan Wray
To wrap this up, this issue is known and has been fixed via the OracleJDBCAdapter class. The problem we're seeing is due to AMQ not recognizing our driver as an Oracle driver, which is not unheard of. We should be able to force the correct adapter with something like: which will override

Re: Performance issue with Oracle backed AMQ

2018-02-02 Thread Nathan Wray
Gary, great leads, thank you. I'm planning to verify the performance of replacing the stock query: SELECT ID ,MSG FROM table WHERE CONTAINER=? AND ID < ? AND ID > ? AND XID IS NULL ORDER BY ID With something oracle-specific that will limit the rows in the

Re: Performance issue with Oracle backed AMQ

2018-02-02 Thread Gary Tully
there was some work on limiting queries: https://issues.apache.org/jira/browse/AMQ-6049 also - the statements can be configured - so you can provide your own statement via configuration. http://activemq.2283324.n4.nabble.com/Statements-in-Activemq-Xml-Jdbcpersistence-adapter-td4668983.html On

Re: Performance issue with Oracle backed AMQ

2018-02-02 Thread Nathan Wray
Tim, thanks for writing. Does AMQ support DB-speciifc queries? I could likely write the patch myself if pointed in the right direction. DefaultJDBCAdapter.doRecoverNextMessages looks like a method that would be called at start-up, can you verify? Or, under what circumstances is that invoked?

Re: Performance issue with Oracle backed AMQ

2018-02-02 Thread Tim Bain
I've never heard of this particular problem being reported, but it should be fairly straightforward to turn it into a top-N query by doing a sub-select as described in http://www.oracle.com/technetwork/issue-archive/2006/06-sep/o56asktom-086197.html. Would you please submit an enhancement request

Re: Message Dequeued count increases by a lot after a message is failed to send to a subscriber

2018-02-02 Thread Tim Bain
That sounds like a bug. What version of ActiveMQ are you using? If it's anything before 5.14.x, can you please try a newer version (5.15.2, ideally) to confirm that it still occurs in a current version? Thanks, Tim On Feb 1, 2018 11:23 AM, "kj" wrote: >

Re: Static network of brokers with not all brokers running (expected)

2018-02-02 Thread Tim Bain
Are you looking to use the discovery transport for the client connections, or both? I've never used it, but my understanding is that discovery is like failover (connect to one broker in this list) rather than like static (connect to all the brokers in this list), so it would be reasonable to use

Re: Consumers hanging on a queue although there are messages in it

2018-02-02 Thread Tim Bain
Would you be able to use JVisualVM to perform CPU sampling while this is occurring, to find out what those threads are doing? **WARNING** Do NOT do CPU *profiling*, which would slow your broker significantly; sampling is lightweight and generally held to be safe to do against an operational

RE: ActiveMQ custom plugin

2018-02-02 Thread Tim Bain
OK, great. In that case you would probably want to make a custom processor in Camel that transforms the message however you need it to, and insert the processor in the route before the . Tim On Feb 2, 2018 1:23 AM, "Gupta Bharat" wrote: Yes I am using 5.x currently.

RE: ActiveMQ custom plugin

2018-02-02 Thread Gupta Bharat
Yes I am using 5.x currently. Using Apache Camel I am routing messages from ActiveMQ to IBM MQ.