1,983 questions
0
votes
1
answer
36
views
How to get SQLXML from OracleOpaque or alternatives?
I have a Java 21 Sping 3 project which uses ojdbc17 and Jakarta JMS libraries. It has a class which implements the org.springframework.jms.support.MessageConverter interface and its
Object fromMessage(...
0
votes
0
answers
135
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
0
answers
57
views
Spring JMS Listener lose connection with Azure Service Bus
I have a Spring Boot 3.4.6 application with a JmsListener annotated method which receive messages from a Azure Service Bus topic.
Randomly, the connection is lost between the application and Azure ...
0
votes
0
answers
76
views
ThrottlingInflightRoutePolicy is not working in camel throwing OutOfMemoryError when using aggregate EIP
ThrottlingInflightRoutePolicy routePolicy = new ThrottlingInflightRoutePolicy();
routePolicy.setMaxInflightExchanges(20);
routePolicy.setResumePercentOfMax(70);
from("jms:...
0
votes
0
answers
28
views
override default spring jms AbstractMessageListenerContainer.commitIfNecessary function and acknowledge the message explicitly to the broker
I am enabling client acknowledgement in apache camel and spring boot. Here is camel route code
from("queue?acknowledgementModeName=CLIENT_ACKNOWLEDGE")
.routeId("r1"...
0
votes
1
answer
100
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
166
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
9
views
spring jms aop - transactional server side mishandling early client abortion
Library: Spring JMS, major version 5.
Issue:
Client side uses JmsInvokerProxyFactoryBean
Server side uses DefaultMessageListenerContainer, with messageListener using JmsInvokerServiceExporter, ...
0
votes
1
answer
35
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
45
views
Apache Activemq classic scheduled send seems to be bugged with Spring Boot JMS
Unless I'm misreading the apache activeMQ docs, it appears that the use of AMQ_SCHEDULED_DELAY, AMQ_SCHEDULED_PERIOD, and AMQ_SCHEDULED_REPEAT is bugged when they are used together when sending ...
0
votes
0
answers
98
views
JMS: IBM MQ - using setConnectionNameList to configure multiple MQ Connections
tstu2012643.xyz.com:51671/GL210031/CLIENT.T.POTRANS?transport=1
tstu2012644.xyz.com:51671/GL210032/CLIENT.T.POTRANS?transport=1
Considering the above two connection properties of an IBM MQ, I am ...
3
votes
0
answers
145
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
187
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
1
answer
28
views
Identifying when a spring integration JMS Outbound Adapter write commit is successful?
Is it possible to attach a TransactionSynchronizationFactory to an outbound JMS Outbound Adapter?
We are trying to send a message to a JMS queue and want to update a database once the JMS send is ...
1
vote
1
answer
198
views
AWS SQS and Spring pollTimeoutSeconds difference
I hava been reading about using pollTimeoutSeconds in @SqsListener from Spring Cloud AWS.
Look at this configuration:
@SqsListener(value = "my-queue", pollTimeoutSeconds = "10", ...
0
votes
0
answers
68
views
How to reduce IBM "MQ get without data" call using DefaultJmsListenerContainerFactory
In our setup, we are observing a significant number of 'MQ get without data' messages alongside 'MQ get with data' messages. With the following configuration, we see 85 calls per second for 'MQ get ...
1
vote
1
answer
91
views
Connect from remote client to WildFly Topic
I need to send and receive messages from a standalone Spring Boot application (2.7.17) to a topic to the ActiveMQ Artemis within WildFly 26.1.3 with a (non-durable subscription). I started with the ...
1
vote
1
answer
90
views
JMS application unable to consume from Oracle Sharded Queue
We have a system that successfully send messages across a normal, non-sharded Oracle Advanced Queue (AQ), but when we change to a Sharded Queue, the Java application is unable to consume the messages. ...
0
votes
0
answers
50
views
Spring Boot Artemis Starter Connecting To WildFly Embedded Artemis With HttpConnector and Https
I am trying to connect a Spring Boot Application (2.7.17) / JDK 17 to a WildFly Server (26.1.3.Final). I am trying to setup a JMS Listener to listen to messages sent to a topic. I am using the spring-...
0
votes
1
answer
168
views
Oracle AQ - Multiple JMS Listeners to dequeue a specific custom 'message type'- is this possible?
I have an Oracle 19 Database in which I planned to leverage Oracle AQ for its queueing capabilities.
During a flow, a message will be created. Messages can be either of "type A" or "...
0
votes
0
answers
74
views
Why MQ Connections keeps on growing when the JMS Listener is not able to listen to the input Queue which is not created - MQRC_UNKNOWN_OBJECT_NAME?
MQ Connections from the application to MQ Channel keeps on growing when there is MQRC_UNKNOWN_OBJECT_NAME exception thrown.
After adding the Queue to the Server only, connection count is stable. ...
0
votes
1
answer
68
views
How to handle closing ExecutorService when used with Spring Integration Flows?
I am using an executor service to ensure that incoming jms messages are acknowledged after I write them to my database - (Using XA datasources and distributed transaction is not an option we have ...
0
votes
0
answers
225
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
347
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 ...
-3
votes
1
answer
94
views
Activemq unable to send JMS message due to NoClassDefFoundError
I am having problems with my activemq application. After starting it if I send a dummy JMS message to queue it throws below error:
org.springframework.web.util.NestedServletException: Handler ...
0
votes
0
answers
32
views
Why would a queue fail to delete?
Running ActiveMQ Classic 6.0.1 embedded in a Spring Boot app. The app creates queues dynamically and publishes messages to them (via Spring's JmsTemplate); a companion app reads messages from those ...
0
votes
1
answer
295
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
80
views
Getting two consumers in a JmsListenerContainerFactory to process messages sequentially
I have a class that implements JmsListenerContainerFactory with the following parameters:
factory.setSessionTransacted(true);
factory.setConcurrency("1");
factory.setAutoStartup(true);
And ...
1
vote
2
answers
542
views
JMSCC0111: IBM MQ classes for JMS attempted to set a pre-existing client ID on a Connection or JMSContext
I am seeing the below error even after I specify the subscriber client id in the the properties file. I am using Spring Boot 3.3.4
2024-10-28T15:47:30.173-04:00 WARN 14156 --- [(2)-10.1.81.174] o.s....
0
votes
0
answers
67
views
ERROR creating bean for org.springframework.jms.core.JmsTemplate
Stack Trace: Sorry I have to scrub this for policy reasons.
Using Eclipse
Maven Build
orgspringframework.jms.core.JmsTemplate v6.1.10
On Compile in Eclipse StackTrace
INFO: Stopping service [Tomcat]
...
1
vote
0
answers
298
views
Spring JmsTransactionManager TransactionStatus null
I am using Spring JmsTransactionManager but sometimes getting TransactionStatus as null. Eventhough I added retry logic its same. How can make sure I always get active Transaction in case of status is ...
0
votes
1
answer
105
views
JmsTemplate with CachingConnectionFactory & Load balancer
I am using Spring's JmsTemplate, CachingConnectionFactory, and JmsTransactionManager to commit or rollback sending messages to IBM MQ. I have multiple MQ hosts, and on top of it have a load balancer ...
0
votes
2
answers
315
views
Sonic MQ 12.0 not able to connect with Spring Boot 3.3.1 version
While creating ConnectionFactory by using TopicConnectionFactory with the latest version of spring boot 3.3.1, facing issue like jakarta package is expected by progress.message.jclient....
-1
votes
1
answer
290
views
I am trying to manually Acknowledge the message after a successful processing
I'm currently using Spring Boot version 3.3.0 and Java 21.
And I'm facing an issue with setting the SessionAcknowledgeMode to Session.CLIENT_ACKNOWLEDGE. I am trying to manually Acknowledge the ...
0
votes
0
answers
68
views
JBoss 7.4.12 JMS connectivity with Spring JMS 6.1.5
When I create a producer using Java Spring in my logs I am getting:
Failed to Convert property value of type org.apache.activemq.artemis.jms.client.ActiveMQJMSConnectionFactory to required type ...
0
votes
0
answers
23
views
How to programmatically change the host of JmsInboundGateway during runtime?
I tried this, however after after restarting the gateway, it stops consuming any new messages.
SolConnectionFactory connFactory =
(SolConnectionFactory) msgListenerContainer....
0
votes
1
answer
85
views
Lots of Asynchronous Message Consumers with selector JMSCorrelationID='CamelDummyJmsMessageSelector'
I am using apache camel to configure jms request/reply pattern with spring-jms and ibm-mq.
My Camel Route is configured as InOut pattern and I am able to read the message from Reply queue successfully ...
1
vote
0
answers
169
views
Spring-Jms DefaultMessageListenerContainer ADT payloads Issue
I am working on a Springboot (1.5.14.RELEASE) and I upgraded that to Springboot 3.3.2.
I have an oracleAQ queue and I was using XmlMessageListenerContainer (Because my payloadtype is "SYS".&...
2
votes
0
answers
161
views
Encountered wire format negotiation timeout: peer did not send his wire format
Getting following exception when running component test.
Environment setup:
JDK 17
jakarta.jms:jakarta.jms-api:3.1.0
OS: Windows WSL
Docker: activemq:latest running on Rancher Desktop
build.gradle
...
0
votes
0
answers
57
views
jmsTemplate.sendAndReceive Connection and session is not closed
I am using spring-boot-starter-activemq to push messages to ActiveMQ.
When I run my code I expect temporary queue is created, and after I got response it should be deleted, but queue is not deleted ...
0
votes
1
answer
162
views
message-driven-channel-adapter - concurrent processing of messages
Issue
We have a legacy application with the following message-driven-channel-adapter configuration
<jms:message-driven-channel-adapter
id="processRequest"
destination=&...
0
votes
2
answers
332
views
BackOff and transactional not working for message handling only for listener setup
I have a IbmMqEndpoint that receives messages. What I want is the message to remain on the original queue, if an error occurs during message processing. The following implementation works flawlessly ...
0
votes
1
answer
111
views
Spring Boot and ActiveMQ Classic retry from OpenWire JMS client
I use Spring Boot with Java 17 and ActiveMQ Classic 6.1.2. When an exception occurs I want to retry with delay 60 seconds. The problem is that every time an exception is thrown in my application, the ...
0
votes
1
answer
242
views
Cached JMS Session object is printing as null in JmsTemplate
Our application is a JAVA back end app running inside a Tomcat. In a high level it reads input from IBM MQ, process it, persists it in the ORACLE DB and writes the output to an MQ. It is a distributed ...
1
vote
0
answers
71
views
How to set acknowledgement mode UNORDERED_ASKNOWLEDGEMENT for concurrent SQS listeners using JMS
We are using JMS library for consuming SQS messages. UNORDERED_ACKNOWLEDGEMENT was working fine till concurrency was not into picture.
However for concurrency when I injected following bean, all my ...
1
vote
1
answer
91
views
How can I achieve UNORDER_ACKNOWLEDGMENT using Spring JMS
In my spring application, there are a few listeners. I've noticed that when deploying the application, I see the following message pretty rarely:
Rejecting received message because of the listener ...
1
vote
1
answer
116
views
Common code conflict with multiple JMS listeners invoked at same time
We have a springboot application which contains multiple JMS listeners reading message from different destinations. The application has a common logging framework which provides methods to log ...
1
vote
1
answer
232
views
Spring JMS error sending message with micrometer tracing baggage field 'X-Correlation-Id'
I am trying to send a JMS message using Spring JmsTemplate like below.
jmsTemplate.convertAndSend(topicName, WebsocketMessage("<message content>"))
And, I am using ...
-1
votes
1
answer
371
views
Cannot determine response destination: Request message does not contain reply-to destination,
Can some one help me please?
I have this error in console:
jakarta.jms.InvalidDestinationException: Cannot determine response destination: Request message does not contain reply-to destination, and no ...