All Questions
137 questions
1
vote
1
answer
191
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
502
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....
4
votes
1
answer
5k
views
IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN')
I'm getting this error till there was no publisher to the topic. As soon as there was a publisher and the message started to get published on the topic, the JMS listener was actively listening and the ...
-1
votes
2
answers
853
views
When a message is put in a MQ (Message Queue) does the producer wait for ACK from the MQ Manager?
What I know is that Queues are used for asynchronous processing but I am wondering if the producer waits for an ACK from the MQ Manager to know that the message has been successfully put in the ...
0
votes
0
answers
247
views
Migration from WebLogic server to wildfly Server
I have middleware application currently running on WebLogic server and now I need to migrate to Wildfly server. can anyone help how to do this because our application is heavily dependent on WebLogic ...
1
vote
2
answers
2k
views
Is it possible to convert a JMS TextMessage to a BytesMessage?
I am currently using IBM MQ and receiving messages. The message is being sent as a javax.jms.TextMessage, and I don't have control over it. The messages being sent are quite big, and I need my ...
0
votes
1
answer
444
views
Does using .clearProperties() of TextMessage interface (JMS) remove the properties from the heap space?
I have the following code:
@JmsListener(...)
Public void messageListener(TextMessage message){
System.out.println(message.getText());
//Writing string to a file...and then
//clear it from ...
0
votes
2
answers
779
views
Differences in total message length between spring JMS and native IBM MQ libraries
I send a simple text message to an MQ Queue (MQ 7.0.1):
"abc"
Using spring JMS the total length of the message is: 291
But putting the same message in the queue using IBM MQ libraries the ...
1
vote
1
answer
3k
views
IBM MQ Send Message Using Java Program
I am trying to send messages to MQ Queue from the java program running on Websphere Application Server.
I configured QConnection Factory & Q jndis in Websphere Applciaiton server. But when running ...
0
votes
1
answer
236
views
IBM MQ Queue JMS listeners receive msg by hostname or some Id
Is it possible to connect multiple JMS listeners to MQ queue and listeners get msgs based on Id (may be hostname).
While sending msgs (set this id?) and while subscribing we can setup subscriber with ...
0
votes
3
answers
2k
views
consume all messages from IBM MQ
I want to consume all messages from MQ.
public static void main(String[] args)
{
JMSContext context = null;
Destination destination = null;
JMSConsumer consumer = null;
JmsFactoryFactory FF = ...
0
votes
0
answers
215
views
Moving messages in DLQ if message processing Fails
I have a standalone program to send message in IBM MQ. I am able to put message in Queue successfully.
JmsFactoryFactory ff = JmsFactoryFactory.getInstance(WMQConstants.WMQ_PROVIDER);
...
0
votes
1
answer
108
views
Message Broker integrate design with IBM MQ
Requirements: Integration with IBM MQ(on-premises) and cloud application. The cloud application instance only can be connected via MID Server(on-premises)
Question:
What is the best approach for this ...
0
votes
1
answer
346
views
What is the difference between JMS client and JMS broker? [closed]
What is the basic difference between a JMS client and a JMS broker?
2
votes
1
answer
2k
views
How to configure consumer-level transactional redelivery with Camel and IBM MQ
I am trying to accomplish a transactional JMS client in Java Spring Boot using Apache Camel, which connects to IBM MQ. Furthermore, the client needs to apply an exponential back-off redelivery ...