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

2018-02-01 Thread Stefanic
Hi Haris, We also have this issue on a queue with high activity, in our case we do more than 3 million messages a day (spread out over the day so never a moment with 0 activity). But this was never an issue before we updated.. See my previous post today, if we still encounter this issue again wit

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

2018-02-01 Thread Stefanic
Hi Tim, There are no selectors, so there are no messages left behind. We have seen this three times now in production and every time when the queue is empty (after about 30 minutes of refreshing) the problem goes away. Threads behavior is rather strange, when the blocking issue is on-going we see

RE: ActiveMQ custom plugin

2018-02-01 Thread Tim Bain
Let's go back to basics. Are you using 5.x or Artemis? You say you're routing messages from ActiveMQ to IBM MQ. How is that being done? Tim On Feb 1, 2018 7:23 AM, "Gupta Bharat" wrote: I don't wish to add headers in the message I pasted. This message I am getting from user and it is content

Re: Change Artemis 2.4.0's default credentials

2018-02-01 Thread Justin Bertram
When you create an instance of the Artemis broker it will ask you for default credentials (i.e. username and password) so you can set them up at that point. If you've already created the broker instance and you're using the default properties based security store then you can use the "user" CLI co

Re: Change Artemis 2.4.0's default credentials

2018-02-01 Thread cnadukula
hi, anyone have an update for me on this? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

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

2018-02-01 Thread kj
This is the story: I am testing whether messages are sent to the DLQ if a subscriber has failed to receive a message. I start off with the following settings. Topic = topic1 Messages Enqueued = 0 Messages Dequeued = 0 Number of subscribers to topic1 = 1 Retry policy count = 0 I post a message t

Performance issue with Oracle backed AMQ

2018-02-01 Thread nathanwray
We recently had over 1M messages back up in a container. For reasons that aren't completely clear, AMQ executed the query found in Statements.getFindNextMessagesStatement mid-morning: SELECT ID, MSG FROM activemq.ACTIVEMQ_MSGS WHERE CONTAINER = :1 AND ID > :2 AND ID < :3 AND XID IS NULL OR

Re: ActiveMQ custom plugin

2018-02-01 Thread Bruce Snyder
Hi Guys, Can you please remove the users-owner@ from this conversation? There is no need to continue to include it. Bruce On Thu, Feb 1, 2018 at 7:23 AM, Gupta Bharat wrote: > I don't wish to add headers in the message I pasted. This message I am > getting from user and it is content. Even the

Re: [Artemis] Some data isn't delivered using Paho client

2018-02-01 Thread Dustbit
Hello, I work with Raul and we found what was causing the problem. Problem and steps to reproduce: - Connect subscriber to broker (cleanSession=false) - Subscribe 3 topics (through 3 different calls using the same client) - Disconnect subscriber - Send 50k messages to the broker (broker holds m

RE: ActiveMQ custom plugin

2018-02-01 Thread Gupta Bharat
I don't wish to add headers in the message I pasted. This message I am getting from user and it is content. Even the tag header is part of content. But when I route the message from Active MQ to IBM MQ certain attributes like destination topic name and message id need to be added. Also I am us

RE: ActiveMQ custom plugin

2018-02-01 Thread Tim Bain
Oh, and I missed your second question. I would expect that you could add headers similar to how the code you posted removed some. Does your question mean that you tried that and it didn't work? If so, how did it fail? Tim On Feb 1, 2018 6:59 AM, "Tim Bain" wrote: > Bharat, > > Is this in 5.x, o

RE: ActiveMQ custom plugin

2018-02-01 Thread Tim Bain
Bharat, Is this in 5.x, or did you switch to Artemis? Your code is operating on a message, but what called your code? We'd need some context on how you got that message to know what you should do with it next. Tim On Feb 1, 2018 5:01 AM, "Gupta Bharat" wrote: > Hello Tim, > > I am getting fol

RE: ActiveMQ custom plugin

2018-02-01 Thread Gupta Bharat
Hello Tim, I am getting following message from client using MQTT { "header": { "messageId": "fcbef565-18ea-429a-836f-7e24d9b53743", "jwtToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ1bmlxdWVfbmFtZSI6IndpaW5pa3B2dCIsInN1YiI6IndpaW5pa3B2dCIsImtpZCI6ImMxMz