Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
13 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 ...
Yogi's user avatar
  • 11
4 votes
1 answer
253 views

How can I check if Solace replay has completed and rejoined the live data stream

In my previous question, the codebase I am working on uses Solace's JCSMP API to trigger a replay, and uses the Spring JMS Listener annotated method to consume the replayed events. I would like to ask,...
chunkynuggy's user avatar
2 votes
1 answer
86 views

Does ConsumerFlowProperties from Solace carryover?

I am reviewing the codebase of a solace application. Here a FlowReceiver is configured with a ConsumerFlowProperties to replay from the start of a queue. Then the FlowReceiver is started and stopped, ...
chunkynuggy's user avatar
1 vote
0 answers
414 views

Setting JNDI factory in solace queue consumer

I have been given a factory to connect to a Solace queue. I am using this dependency, within a spring-boot 2.7.7 application : <dependency> <groupId>com.solace.spring.boot</groupId&...
inquirymind's user avatar
0 votes
1 answer
983 views

Is there any possibility to read topic from JMS message as a consumer

Summary: I have created a small Spring Boot application which should consume messages from a Solace instance. In Solace the publisher has maintained a queue which is subscribed to different topics. I, ...
MrDeloru's user avatar
0 votes
0 answers
167 views

Modify @JMSListener destination while building the app(not runtime)

I have developed a @JMSListener that gets the destination from Spring yml files and works just fine. But now I would need to be able to change the "destination" of the queue on deployment ...
hello world's user avatar
2 votes
1 answer
1k views

JmsTemplate not browsing queue correctly

I am always getting empty list. I have messages on queues which have not been consumed. I am passing the correct queue name. List<TextMessage> messages = jmsTemplate.browse(destinationQueueName, ...
hello world's user avatar
2 votes
1 answer
2k views

View Messages on Queue

How can I view/browse the message on the queue programmatically? I don't want to consume the message. Below is the code I am using to send the message: @Autowired private JmsTemplate ...
hello world's user avatar
0 votes
1 answer
1k views

Spring Jms Listener goes to Infinite loop

I have the below config for solace queue listener .Since one message throws error .It goes into infine loop ,.How to solve this ? @Bean public DefaultJmsListenerContainerFactory jmsContainer() { ...
hello world's user avatar
0 votes
1 answer
589 views

Redeliver message in JMS

I am trying to read a message from Solace. I am able to read message successfully, but suppose while reading/processing the message the app crashes. How can I read that message again? With my below ...
hello world's user avatar
0 votes
1 answer
2k views

Not able to find JMSContext class in spring boot

How to solve below : Failed to introspect Class [org.springframework.jms.connection.SingleConnectionFactory] from ClassLoader [sun.misc.Launcher$AppClassLoader@2a139a55] Caused by: java.lang....
hello world's user avatar
0 votes
0 answers
470 views

How to send Message & AVRO schema file together to JMS?

@Component public class GeneralTopicWriter { @Autowired private JmsTemplate jmsTemplate; private Schema schema; private DatumWriter<Customers> writer; @Autowired private ...
Sanjay sahu's user avatar
4 votes
0 answers
876 views

JMS Listener not able to read messages from Solace EMS queue in spring boot app

I have one Solace EMS queue, it has one consumer (Spring boot app).. message received on the queue is encoded(avro schema) and the spring boot app will consume the message only if message decoding is ...
Chetana Rathore's user avatar
1 vote
0 answers
806 views

why solace connection refused, and resumes after restart

I have a app will connect to solace using spring jms, and solace server maintain yesterday, after that my app always says Connecting to host 'orig=tcp://xxx, scheme=tcp://, host=xxx' (host 1 of 1, ...
Gentle Chen's user avatar
0 votes
1 answer
334 views

JMSItemReader reconnecting to Solace as per Chunk size

I have Spring batch app which connects to Solace queue, polls the records as long as message are there in queue or receiver time out is reached. I'm using chunk based processing But I could see my ...
Sagar Kadu's user avatar

15 30 50 per page