7,646 questions
-3
votes
0
answers
30
views
JMS broker disconnection, message sent, pod dies before broker reconnects: what is the message lost? How to prevent the loss?
Okay, I have an interesting one so far that is difficult to Google successfully and I have no prior experience on this particular problem guiding me on a correct solution.
I have the following ...
0
votes
0
answers
63
views
java.lang.ClassNotFoundException: class org.apache.activemq.jndi.ActiveMQInitialContextFactory not found at run time
WSO2 EI 6.6.0 is configured and run together with ActiveMq 5.16.4. Sending and receiving JMS messages works fine but time to time following error occurs at run time. To solve it, it is necessary to ...
0
votes
0
answers
40
views
QPID JMS OAuth Token Refresh
I am using Qpid JMS to connect to RabbitMQ using OAuth.
I have read about the Connection Extensions section of the Qpid JMS documentation, which describes how to update the token on a ...
0
votes
0
answers
47
views
How to route messages from a single JMS producer to one of multiple MDBs based on conditions?
I have a JMS-based application setup where one application(3rd party component with no code level access, but configurable) acts as the only message producer. This producer sends messages to the ...
0
votes
1
answer
70
views
Camel JMS component does not cache the connection
We are currently using apache camel to build routes between an IBM Mq broker and some other ones (basically : a messaging bridge)
As an input component, we use the JMS one.
It is performing.... quite ...
1
vote
1
answer
117
views
WebLogic 12c Foreign Server fails to authenticate with WildFly 26 JMS: JMSSecurityException (Username: null)
I have a Java application running on WebLogic 12c that sends JMS messages. We're trying to configure it to send messages to a remote JMS queue on a WildFly 26 server.
When we attempt to send a message,...
0
votes
0
answers
137
views
How to bypass rollbacks and retries for Spring JmsListener specific exceptions?
This is for a Spring JMS listener which is configured with DefaultJmsListenerContainerFactory with sessionTransacted(true), an error handler and a message converter which converts a message to a pojo ...
0
votes
1
answer
103
views
Receiving BytesMessage from Smallrye JMS Connector turns all bytes to 0
I'm trying to integrate IBM MQ with my Quarkus application, but it doesn't have AMQP support and there's no Quarkiverse extension available for it. As a workaround, I'm following this answer to ...
0
votes
0
answers
79
views
Weblogic 14.1.2.0.0 - EJB can't commit XA transaction when use Foreign JNDI to call remote EJB
Context
Two WebLogic 14.1.2 domains (both named base_domain, running on ports 9001 and 8001).
Domain Agency (9001) hosts an MDB that
consumes from a local XA queue,
writes to several tables (XA data ...
0
votes
0
answers
34
views
OracleAQ: JMS_OracleDelay settings
When I use a JMS message producer with OracleAQ to send a message with JMS_OracleDelay
message.setIntProperty("JMS_OracleDelay", 10)
I see the the underlying AQ table add the correct DELAY ...
1
vote
1
answer
58
views
Qpid JMS: setClientID() hangs indefinitely, thread stuck on BalancedProviderFuture
I'm using Apache Qpid JMS to create a JMS connection and set a client ID. The following line hangs indefinitely, and no logs appear after this point:
JmsConnection conn = (JmsConnection) factory....
0
votes
1
answer
104
views
Mule 4.9 JMS appender error: Modules javax.jms.api and jakarta.jms.api export package javax.jms to module org.eclipse.sisu.inject
I am new to mule and trying to push logs to activemq queue using jms appender. I was getting error while using jms appender with mule 4.3
2025-06-05T07:02:25.588889200Z WrapperListener_start_runner ...
0
votes
0
answers
119
views
Slow message delivery in Java application using Oracle Advanced Queue
I have a Java application that connects to Oracle Advanced Queue (AQ) and listens for various event types. The Java server and the Oracle server are on different machines but within the same data ...
-1
votes
1
answer
201
views
Spring boot 3 + ActiveMQ + XA-Transactions + Durable Subscription to JMS Topic dows not work properly
Currently, I can't get XA-Transactions AND Durable Subscription working at the same time. A Demo Projekt is here: https://github.com/proxora/Spring-boot-3-ActiveMQ-XA-Transactions-Durable-Subscription-...
0
votes
1
answer
102
views
ActiveMQ Artemis message is lost
I am using ActiveMQ Artemis 2.27.1 from my Spring Boot application. I see that a producer publishes message to a queue, but the consumer is not called even once and the message is sent to the DLQ. ...
0
votes
0
answers
47
views
Messages piling up in Solace queue
In my application I am consuming messages from Solace queues, but I am observing some intermittent messages going into the queue even thought there is no ingress/egress at that time, and we have an ...
0
votes
2
answers
178
views
How do I instrument a non-supported IBMMQ/Jms service within an instrumented Spring Boot App without using Otel Java Agent?
Note: I am not using Otel Java Agent, I will elaborate on it in the last section.
I have a Spring Boot App with the following services implemented:
Spring Kafka Consumer using org.springframework....
0
votes
0
answers
74
views
Is it possible to register a JmsListener programmatically with enabled transactions
Spring documentation describes how to register a JMS listener programatically, but the endpoint API described there does not have any transactional flags available. Is there any way to make this ...
0
votes
2
answers
104
views
Forward a message to an arbitrary list of addresses in ActiveMQ Artemis
I want to create a fan-out on ActiveMQ Artemis.
This is the scenario:
The producer sends a message on the dedicated address (example: inputMsg).
Artemis forwards the message to all consumers that ...
0
votes
1
answer
190
views
How to disable ActiveMQ Artemis security for testing purposes?
I am trying to disable security on ActiveMQ Artemis for testing purposes.
I am using the official Docker image from which I am starting a container with a volume mounted from my host to /var/lib/...
0
votes
1
answer
40
views
While using @JmsListener, using "concurrency" getting active connection more than configured concurrency
While using @JmsListener I'm using the concurrency field to set max active threads for specified listener. However, I'm getting more than number of connections configured.
The listener is active with ...
0
votes
0
answers
152
views
IBM MQ Connection problem - class javax.naming.Reference cannot be cast to class com.ibm.mq.jakarta.jms.MQConnectionFactory
I'm working with the below code (IBM MQ client with Jakarta JMS 3.0):
package org.example;
import com.ibm.mq.jakarta.jms.MQConnectionFactory;
import javax.naming.Context;
import javax.naming....
2
votes
1
answer
162
views
Behavior of IBM MQ when Backout threshold is 0
I have a simple Java application listening to an IBM MQ queue in an asynchronous manner with the acknowledgement mode set as AUTO_ACKNOWLEDGE.
The BACKOUT_THRESHOLD for the queue is set as 0. In the ...
0
votes
1
answer
163
views
How to configure ActiveMQ Artemis embedded in WildFly behind a secured reverse proxy (Kubernetes Ingress)?
Problem statement
I am trying to configure ActiveMQ Artemis embedded in WildFly to work with a secured connection between the client and Kubernetes Ingress.
I have a Java client that connects to a ...
-1
votes
1
answer
44
views
org.wildfly.messaging.activemq.jms-bridge.myJMSBridge is missing,
I have installed Wildfly 34 on my local machine and enabled the JMS queue. Also, I am trying to enable jms bridge in standalone mode. It's not working. It will through some errors. How to solve this? ...
0
votes
0
answers
36
views
Troubling setting selector using the SEMP v2
I am trying to create a selector.
I can 't find here https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/software-broker/config/index.html#/ how could I add a selector to a queue....
0
votes
0
answers
68
views
Client failover not failing to backup broker first
I am struggling to get my client to failover as I'd expect in my cluster.
I am expecting that when 1 node fails my client should jump to that node’s backup in the topology. However, what I see occur ...
3
votes
0
answers
152
views
JmsTemplate does not honour the receiveTimeout value
I'm using spring-based application to connect to an IBM MQ server for sending and receiving jms messages. I've set the timeout using the setReceivedTimeout function of the Jmstemplate and I expect ...
0
votes
1
answer
191
views
How can I use the ActiveMQ Artemis management API to apply changes to multiple brokers?
I have a HA replicated cluster setup of ActiveMQ Artemis currently and would like to use the management API from my clients to run a few configuration operations when the brokers start up.
I can't ...
0
votes
2
answers
165
views
Sending JMS message to IBM MQ with Apache Camel is abnormally slow
I'm trying to send a lot of JMS messages to an IBM MQ broker with the awesome Apache Camel library.
When I'm sending 1000 small (less than 100 bytes) messages sending rate is really slow (1 msg/second)...
0
votes
1
answer
77
views
Camel new version thrown IllegalArgumentException Unrecognized Type: [null]
We have just upgraded our Camel project from the version 4.4.0 to the version 4.9.0. And we encountered this error when sending our JMS messages :
java.lang.IllegalArgumentException: Unrecognized Type:...
0
votes
1
answer
29
views
Correlation ID is not always received via JMSInput node
we are using JMSInput node to listen to Rabbitmq queue. But correlation Id/message ID property sent from rabbitmq is not being received in App connect flow. If sent along with Priority property then ...
0
votes
1
answer
104
views
Slow consumer using selectors on ActiveMQ Classic
We have an ActiveMQ Classic broker on the default configuration (no specific destination policy configured, and with default KahaDB storage).
Many producers and consumers use the same queue for ...
0
votes
0
answers
61
views
RabbitMQ JMS and MessageDriven bean through TomEE
I'm trying to implement a Jakarta application with JMS runnning in TomEE 9.1.3 and a RabbitMQ 3.10.8.
I can send and receive messages using injected QueueConnectionFactory and Queue resources.
Here ...
0
votes
1
answer
89
views
Jakarta JMS Spring-boot sending messages immediately
I need send some messages without waiting transaction ending.
But all settings I tried like
template.setSessionTransacted(false); and setting different acknowledge modes didn't bring any results.
...
0
votes
1
answer
245
views
Is it possible to get a single message from ActiveMQ Artemis through Jolokia JMX?
I try to get a single message from Artemis through Jolokia JMX but can't find a way to filter for JMSMessageID.
Broker version: Red Hat AMQ 7.11.7
My best attempt is currently:
https://broker/console/...
1
vote
1
answer
97
views
Can't use management API with JMS to change address settings
I am quite new to the world of JMS and ActiveMQ Artemis, and I'm struggling to make use of the management API to send a JMS message to my stand alone broker.
I am using ActiveMQ Artemis 2.38.0.
I want ...
0
votes
0
answers
229
views
IBM MQ Message stuck in queue
We are facing issue with messages getting stuck in remote queue at random instant. The application uses selectors to consume messages. The messages are consumed again if the client application is ...
0
votes
0
answers
99
views
Apache camel JMS transacted component performance improvement
I'm working in a project where I'm using Apache camel with Quarkus. There is a route that is consuming messages from IBM MQ. I've initialized a JMS component globally with transacted=true. But ...
0
votes
1
answer
138
views
How to immediately stop execution of Spring JmsListener?
In my Java Spring Boot 3 application I have a simple JmsListener for Oracle AQ:
import com.example.webfluxexample.model.MessageInfo;
import jakarta.jms.Message;
import jakarta.jms.ObjectMessage;
...
0
votes
0
answers
352
views
JMS issue as Java 8 is migrated to Java 17 with Jakarta 10
I am migrating my java application from Java 8 spring 5.3.x to Java 17, Spring 6.0.0 with JakartaEE 10 feature enabled in open liberty server. I am facing issue with JMS configuration I guess which ...
0
votes
0
answers
132
views
How can I limit the number of created connection when I connect to Solace using qpid JMS library in an Apache Beam application?
My Apache Beam application sends messages to a Solace queue. To send the message, I use the Apache Qpid JMS library and Java Messaging Service (JMS). However, when I launch my application, more than ...
0
votes
1
answer
300
views
In Azure Service Bus how to send a message to dead letter queue with a "DeadLetterReason" with JMS?
I'm building a service around Azure Service Bus with Java Language and Spring framework using JMS listeners.
I could figure out a way to send a message directly to the DeadLetterQueue, without waiting ...
0
votes
1
answer
143
views
Azure Service Bus and Azure Container Apps - Redeploy fails as there alread is a client using tha sub against that topic
I have a (Java 21/EE10 on WildFly 33) container that connects to Azure Service Bus using JMS 2.0 (Hence ESB Premium Tier).
All is well.
However when redeploying (or even restarting) the POD the @...
-1
votes
1
answer
174
views
javax.naming.NamingException: javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileIniti
We are using jMeter 5.5 & JMS Publisher addon to publish messages to relevant queues via AMPQ.
I have installed the following libraries/packages within jMeter config, and installed Java 11 on ...
1
vote
1
answer
665
views
How to resolve IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED')
I have a Spring project where I need to connect to IBM MQ to send and receive messages from but I'm getting the below exception:-
IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035'
('...
0
votes
1
answer
51
views
ActiveMQ subscribe every n messages from a topic?
Assume messages are published very frequently on some topic and cause extreme network load to subscribe to all of the messages. In reality, we may just want a sample of these, say one every 10 ...
0
votes
1
answer
777
views
JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED') with com.ibm.mq.jakarta.client, version 9.4.1.0
Some legacy code is running on a mainframe that uses JMS classes to connect to MQ.
The older version uses Java 8, Java EE with Spring 5 and IBM-provided JARs: com.ibm.mq.jar, com.ibm.mq.jmqi.jar, com....
0
votes
1
answer
59
views
Can't send a message send a message from DLQ in Payara, I get a javax.jms.IllegalStateException: MQJMSRA_DS4001: commit():Illegal for a non-transacted
I'm using Payara 5.2022.5
public void resubmitMessages(boolean resubmitAll) throws Exception {
log.debug("DLQService: resubmitMessages()");
InitialContext ctx = null;
...
-1
votes
1
answer
56
views
Can't get existing JMS message from DLQ on Payara 5.2022.5
I'm trying to reprocess messages from the dead letter/message queue (DLQ).
In the method below I'm getting null when I do dlqConsumer.receive(5000) on Payara 5.2022.5. Where as when I used a ...