Questions tagged [amq]

AMQ refers to Red Hat AMQ, the commercial messaging product based on Apache ActiveMQ.

AMQ is a lightweight, high performance, commercial messaging platform from Red Hat based on Apache ActiveMQ.

81 questions
0
votes
1 answer

Tracking where rogue AMQ messages coming from

AMQ 5.7 here. I have inherited a very old set of Java applications that use an ActiveMQ (AMQ) broker to communicate between each other as well as with clients outside this ecosystem. Hence the AMQ broker has several hundred (!!!) queues on it, and…
hotmeatballsoup
  • 385
  • 6
  • 58
  • 136
0
votes
1 answer

Apache Camel - How to configure endpoint with attributes in java

Here is my perfectly working Camel route in XML below
Bhuvan
  • 2,209
  • 11
  • 33
  • 46
0
votes
1 answer

Apache Artemis no clientId is showing in consumer section of management-console.UI

I am using Apache Artemis broker and Apache camel JMS component as i am using Apache camel JMS component so here, i am listening the topic from(jms:topic:my_topic?durableSubscriptionName=dsn&clientId=testId) .log("......>") Here i…
Bhushan Uniyal
  • 5,575
  • 2
  • 22
  • 45
0
votes
1 answer

Acknowledge AMQ from Camel after HTTP request

I am using Apache camel for routing between ActiveMQ and camel HTTP endpoints. The route is defined in such a way that take data from camel-cxf webservice to the ActiveMQ and post these data to a tomcat which is a HTTP endpoint then once the http…
Gautam
  • 238
  • 6
  • 17
0
votes
1 answer

Can you have a backup durable subscriber for ActiveMQ

I have a master/slave AMQ broker setup for JMS messaging. I have two servers that I would like to setup as a master/slave durable consumers using Apache Camel. We've been achieving this by having both servers attempt to connect with the same client…
0
votes
1 answer

How to set Durable Subscriber in DefaultMessageListenerContainer in spring?

Producer of the message is not sending message as persistent and when i am trying to consume the message through MessageListener, and any exception(runtime) occurs, it retries for specific number of times (default is 6 from AMQ side) and message get…
Neer1009
  • 304
  • 1
  • 5
  • 18
0
votes
0 answers

Replace foreach loop with linq query while sending list data one by one to server using Active MQ

I'm trying to replace this for-each loop with Linq query. This loop is killing the performance. str contains list. I have to read one by one each string from str and encode it then I need to publish it to the server using AMQ. foreach (var…
peter s
  • 9
  • 5
0
votes
1 answer

AMQ + Oracle AQ: lost message on failed connection

I've configured AMQ to receive and send messages from Oracle AQ, as is is described here http://activemq.apache.org/jms-bridge-with-oracle-aq.html AMQ creates and holds connection to receive messages from Oracle AQ - this is correct. However, the…
Mark Vilkel
  • 55
  • 1
  • 5
0
votes
1 answer

java heap space when space is actually available

I'm trying to send a BytesMessage on AMQ (5.15.2) but I run in a heap space exception even if the memory is clearly available. Here is the byte[] contcentBuilder = new Byte[1000*1000*1]; Array.fill(contentBuilder, (byte) 1); BytesMessage message =…
Ayeyebraso
  • 11
  • 1
  • 4
0
votes
1 answer

jms expiration, AMQ->MQ Series

We are trying to preserve TimeToLive/JMSExpiration in our messages during moving them from AMQ queue to IBM MQ Series queue, currently we use: jmsBridgeConnectors in AMQ to move the messages but the expiration is not preserved. I know that AMQ…
0
votes
1 answer

Apache Camel .when() Statement Only works half of the time

I have a .choice() statement with multiple .when() cases. However I upload the same file everytime that has MsgFmtVerNr=2 and sometimes it goes to otherwise and sometimes it goes through .when().xpath("/UpsBas/MsgHdr/MsgFmtVerNr = '2'"). I have no…
Connor Blair
  • 73
  • 2
  • 10
0
votes
1 answer

how to consume data from AMQ using WSO2ESB

Hi I have created a queue which pushes data to queue but unable to get any response. It gives response as "WARN - SourceHandler Connection time out after request is read: http-incoming-5 Socket Timeout". And also I want to fetch messages from that…
Ashwin M
  • 3
  • 3
0
votes
2 answers

How to process message just before it send to DLQ

I am using the following server side re-delivery configurations
Nandan
  • 497
  • 2
  • 7
  • 18
0
votes
1 answer

ActiveMQ alerting old messages

I am using ActiveMQ and want to generate alerts for messages which are sitting int the queue for very long time. I looked at "Advisory Message" feature but it has no such provision. It is very important for me to use a solution which does not add…
Suyog Barve
  • 237
  • 3
  • 10
0
votes
2 answers

ActiveMQ failover timeout works randomly

I'm facing an issue with the timeout failover option. Basically I want a client that keeps sending message to a broker, if the broker is down, it will try to reconnect until broker is up again. At the same time, the send will timeout, so it won't…
TJ Liu
  • 354
  • 1
  • 8