1

I am setting queue messaging system between IBM MQ Server and IBM MQ Client.

I already setup connection IBM MQ Server and IBM MQ Client.

In MQ server queue, there are some messages. And I can get those messages using mq commend.

> amqsgetc Server_Queue_name

But this is just sample commend. And Once I order this commend, all messages are not put in the local queue. I want to get messages from MQ Server and put them into my local queue in the MQ Client.

How can I set it up when there is a message at the MQ Server Queue. Do I need a trigger for it? or Should I make a extra program like batch?

6
  • 2
    The MQ Client does not have queues. It is a remote application call to your MQ Server queue manager that hosts the queues. Commented Dec 13, 2021 at 11:55
  • Thank you so much. Then How can I store data from MQ Server? As I write , I was able to get the data from MQ Server through MQ Client. But I couldn't store it. Is there any way to store the data on my local side??Thanks again Commented Dec 16, 2021 at 9:12
  • Depends on what you want to do with the message, and why you want to store it. On the surface it looks like you are looking for basic data persistence. Commented Dec 16, 2021 at 11:36
  • If you want to have queues on both your local machine and the remote machine (where you currently have a queue manager), why not have a queue manager on both machines? Commented Dec 17, 2021 at 2:29
  • @MoragHughson Hmmm.... do you mean that if I have a queue manager on my Client side, then I can store data?? Commented Dec 17, 2021 at 4:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.