Questions tagged [jms-queue]

A distribution mechanism for sending messages that are delivered to single consumer.

The use case for JMS Queue includes these considerations:

  1. A staging area that contains messages that have been sent and are waiting to be read. As the name queue suggests, the messages are delivered in the order sent. A message is removed from the queue once it has been read.
  2. Point-to-point solution based on Publisher/ Subscriber model.
  3. Only one consumer will get the message.
  4. The producer does not have to be running at the time the consumer consumes the message, nor does the consumer need to be running at the time the message is sent,
  5. Every message successfully processed is acknowledged by the consumer(you can configure it)
24 questions
8
votes
1 answer

JNDI name format of JMS queue in wildfly10

Hi I am migrating to wildfly 10 from JBoss_6.1.0_final. In JBoss for Queue name the format is like and in MDB annotation is @ActivationConfigProperty(propertyName =…
Hitesh Ghuge
  • 793
  • 2
  • 10
  • 39
6
votes
1 answer

HornetQ Persistence is not removing files

In my application, I've noticed that HornetQ 2.4.1 has been piling up message journal files, (sometimes into the thousands.) I'm using HornetQ via JMS Queues and we're using Wildfly 8.2. Normally, when starting the server instance, HornetQ will have…
dimwittedanimal
  • 656
  • 1
  • 13
  • 29
3
votes
1 answer

ActiveMQ Artemis cluster does not redistribute messages after one instance crash

I have a cluster of Artemis in Kubernetes with 3 group of master/slave: activemq-artemis-master-0 1/1 Running activemq-artemis-master-1 1/1 Running activemq-artemis-master-2 …
2
votes
0 answers

How to Handle JMS Queue efficiently avoiding load on server

My question here is to know how can I handle load on server if jms queue (Wildfly 10) gets filled at high extent. The problem is messages are continuously being added to JMS queue but they are processed one by one.The logic that is written is to…
Divya
  • 87
  • 1
  • 10
1
vote
0 answers

ActiveMQ timing out waiting for messages (ActiveMQ 5.16.2)

We have an ActiveMQ configured with our Tomcat like so in context.xml of Tomcat:
hell_storm2004
  • 1,401
  • 2
  • 33
  • 66
1
vote
1 answer

Connection.start is not needed for JMS MessageProducer but needed for MessageConsumer

A - Question I know there is a similar question but not the same in SO. I'm trying to understand what goes on under the hood with MessageProducer and MessageConsumer in JMS. Using the implementation of ActiveMQ, I've written a simple MessageProducer…
Levent Divilioglu
  • 11,198
  • 5
  • 59
  • 106
1
vote
0 answers

Getting the error "Please define a receive (response) queue for the current resource before calling this method"

I am trying to read messages from the queue using C#. I am able to to publish the message to the queue but not able to retrieve message from the queue. Below is the sample code snippet. Messages are already there in some queue, some one publishing…
Naveen JNK
  • 11
  • 2
1
vote
1 answer

Error while Creating JMS Message Producer in jboss EAP 7

I have configured JMS topic in JBOSS_EAP_7.0 and write a simple java code to create a message producer. I have the following stateless bean @Stateless public class ExchangeSenderFacadeWrapperBean { private static final OMSLogHandlerI logger =…
IsharaD
  • 322
  • 2
  • 4
  • 17
1
vote
1 answer

JBoss 7 (EAP 6) CLI configuration: 'queue-address' is not found among the supported properties: [selector, entries, durable]

I am on JBoss EAP 6 and my task is to migrate a server to the Cloud. I get JBoss to start, but then some queue fails with: [echo] try to connect to local JBoss... Checking for listener at 127.0.0.1:17545 Checking for listener at…
Kawu
  • 13,647
  • 34
  • 123
  • 195
1
vote
1 answer

what's the best way to use the jboss-client.jar in a Wildfly 10 application?

I have a Wildfly 10 ear application (runs in the server container) which needs to be able to publish to a remote queue hosted on another wildfly server. To accomplish that I copied this jar from the wildfly\bin\client folder into the ear's lib…
inor
  • 2,781
  • 2
  • 32
  • 42
0
votes
1 answer

JMS Service not pushing XML files to Queue. Stops processing in between and needed to restart the service to push the files further

There is a directory named /var/xyz/aa/clm/data/infiles/SenderJMS/CE/L3/ where number of XML files are stored after a process runs. These files contain data to be pushed to remote server through a JMS queue. The queue is configured at client's cloud…
0
votes
0 answers

unable to drop message to queue

I have 2 queues 1 as listener and the other is used to drop messages to queue,I'm able to read the message but not able to drop it. Here is the exception I'm getting JMS attempted to perform an MQOPEN, but IBM MQ reported an error. Use the linked…
Azim Uddin
  • 19
  • 1
  • 5
0
votes
0 answers

How to read XML Request and Send to JMS Queue

Any idea how am I possibly able to read an XML request and after reading I'll send it to the JMS Queue. Can someone help me? been reading IBM Docs but still don't get any ideas on how is that possible to read. (Language using ESQL) For…
Euphoria
  • 3
  • 5
0
votes
0 answers

ActiveMQ load balancing

I have a single instance of ActiveMQ and a producer is pushing data to a queue. Currently, we have a single consumer with concurrency set as 1-5 which was developed using Spring Boot. Now I ran the same Spring Boot application (Consumer) in…
CrazyCoder
  • 2,465
  • 8
  • 36
  • 57
0
votes
3 answers

How to wait in integration test for some operations

I have integration test with docker using test containers. On container I run jms. In test I am putting message on queue. How I can wait in test to make it populated on jms? On local machine it works, but on jenkins it fails, so I have to add …
masterdany88
  • 5,041
  • 11
  • 58
  • 132
1
2