Skip to main content

All Questions

Tagged with
0 votes
0 answers
130 views

Java and WebSphere MQ server integration

I am using IBM Websphere MQ of v7.5.0.6 which is installed on Linux 3.10.0-1160.90.1.0.1.el7.x86_64. I have created the required queue manager and channel. I need to send a message to a queue hosted ...
Jeevottam Prabhu's user avatar
0 votes
1 answer
712 views

Why @JMSListener stops listening events without any error or exception in Spring Boot application

I'm consuming events from Tibco EMS using @JMSListener(destination = "myDestination", concurrency = "1-2") and pushing them to Kafka. Here's my ConfigClass: @Configuration @...
Ankit Kadam's user avatar
1 vote
1 answer
1k views

Batch fetching from JMS queue

I need to implement the following workflow: Every N milliseconds fetch all available messages from JMS queue, but not more than K items Do some processing Acknowledge all of them once processing is ...
dbf's user avatar
  • 6,519
0 votes
2 answers
1k views

What is the purpose of setting QueueManager property for IBM MQ?

Following this example of sending messages to queue let's look at the part of setting connection factory properties cf.setStringProperty(WMQConstants.WMQ_HOST_NAME, HOST); cf....
diziaq's user avatar
  • 7,845
0 votes
1 answer
1k views

Is there any way to wait for a JMS message to be dequeued in a unit test?

I'm writing a spring-boot based project where I have some synchronous (eg. RESTI API calls) and asynchronous (JMS) pieces of code (the broker I use is a dockerized instance of ActiveMQ in case there's ...
Christian G. Faraone's user avatar
0 votes
1 answer
92 views

JMS Dynamic Message Selection

I have a message queue containing a customer id and some of their data. To improve performance those messages will be processed by multiple threads. My issue is that I need to find a way to ensure the ...
James's user avatar
  • 1,790
1 vote
1 answer
2k views

How to specify host, port and channel in ConnectionFactory without using JNDI

Am trying to create a standalone java application to send message to different application using JMS. My reference code uses queueConnectionFactory and all connection parameters are configured in WAS ...
Learner's user avatar
  • 83
-1 votes
1 answer
448 views

Hostname problem with Wildfly 10 and RabbitMQ JDNI configuration

I'm following this documentation to configure JNDI for Wildfly 10 with RabbitMQ https://www.rabbitmq.com/jms-client.html The reason i'm using JNDI is to my application has no dependency with any JMS ...
nguyen dang Thanh's user avatar
1 vote
1 answer
399 views

JMS Queue listener and publisher using MDB in jboss using java

I have a requirement as : Messages in a queue, say A, needs to be consumed by two different applications. I am trying to implement a MDB to listen to that queue and publish that msg to another topic ...
Anitha.R's user avatar
  • 364
-1 votes
1 answer
25 views

How the messaging can be used in case of request load is more?

I appeared for interview in one of the MNC software companies and the interviewer asked me a tricky question. He said suppose you have a system with users and its orders and there are user and order ...
user2746466's user avatar
0 votes
0 answers
433 views

My application does not backout messages - IBM MQ

I'm writing a springboot app which use a JmsListener to read messages from a queue, and i want to backout them if an exception during the queue detachement, occurs. So whenever a new message is added ...
Zhaled Asufian's user avatar
1 vote
1 answer
255 views

Is there any way to enforce the use of a JMS message selector?

I am currently testing out JMS queue (first time using JMS) and message driven beans. I have created a queue to provide other applications with state updates for one of our projects. Logic is ...
Vontjen's user avatar
  • 11
0 votes
1 answer
2k views

Batch/bulk processing in JMS

I'm having the following scenario where I receive an XML with multiple entries in the 100,000s. For each item, I have to process the message simultaneously and once that batch/bulk finishes, I have to ...
iefpw's user avatar
  • 7,082
0 votes
1 answer
1k views

JMS-Websocket - delayed message delivery

This application receives & forwards messages from database events to client applications. Messages are immediately delivered when the client browser has a web socket session. However, when no ...
Ted Spradley's user avatar
  • 3,436
0 votes
1 answer
868 views

Sending data to Queue and listening for data in same function

I'm trying to create a function where I send a JMS message to a queue and listen on a different queue the response. The two queues are different and I want to return when the response is available ...
iefpw's user avatar
  • 7,082

15 30 50 per page
1
2 3 4 5
11