Author |
Message |
Topic: MQ 7.5 XMS .NET Sync communition, how can implement? |
IanAlderson
Replies: 6 Views: 10085
|
Forum: IBM MQ API Support Posted: Wed Jul 23, 2014 2:05 am Subject: MQ 7.5 XMS .NET Sync communition, how can implement? |
The message listener registers a method that is invoked (asynchronously) when a message arrives on the queue. The Receive method blocks until it returns. ReceiveNoWait returns immediately whether a ... |
Topic: MQ 7.5 XMS .NET Sync communition, how can implement? |
IanAlderson
Replies: 6 Views: 10085
|
Forum: IBM MQ API Support Posted: Tue Jul 22, 2014 4:47 am Subject: MQ 7.5 XMS .NET Sync communition, how can implement? |
Hi,
For synchronous mode you do not use a message listener but instead use one of the Receive methods (wait, infinite wait or no wait) of the MessageConsumer object. You should be able to find suit ... |
Topic: Monitoring server connection channels |
IanAlderson
Replies: 9 Views: 30243
|
Forum: iSeries, OpenVMS, HP-NSS Posted: Mon Jul 21, 2014 6:00 am Subject: Monitoring server connection channels |
And as I said before, pcf would allow you to make this query platform independant...
Whilst that is true up to a point - if you're writing it in java - it is not a trivial thing to write ... |
Topic: Monitoring server connection channels |
IanAlderson
Replies: 9 Views: 30243
|
Forum: iSeries, OpenVMS, HP-NSS Posted: Mon Jul 21, 2014 2:03 am Subject: Monitoring server connection channels |
Glad you have got something working there. I would just like to throw out some thoughts for you to consider. Hopefully one or more items may be useful for you.
SVRCONN channels are, as I'm sur ... |
Topic: Get-WMQQueueStatus - Error |
IanAlderson
Replies: 1 Views: 2750
|
Forum: General IBM MQ Support Posted: Thu Jul 10, 2014 3:11 am Subject: Get-WMQQueueStatus - Error |
Hi,
I had a very similar problem trying to get Get-WMQChannelStatus to work. I found that the cmdlet worked only when I had a saved channel status but returned an invalid DateTime error when the ch ... |
Topic: Option to Push Message remote JMS queue |
IanAlderson
Replies: 23 Views: 18894
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 09, 2014 2:19 am Subject: Option to Push Message remote JMS queue |
If you are looking at using the Message Bridge that is part of the Weblogic product, then you are bridging from an external JMS transport (MQ in this case) to internal queueing inside the Weblogic ser ... |
Topic: What is MQCB? |
IanAlderson
Replies: 6 Views: 6187
|
Forum: General IBM MQ Support Posted: Thu Jun 26, 2014 6:07 am Subject: What is MQCB? |
Try this
pGetMsgOpts -> ResolvedQName
Note that this is the resolved queue name, so if you use an alias then it will contain the base queue that the qalias resolves to. |
Topic: What is MQCB? |
IanAlderson
Replies: 6 Views: 6187
|
Forum: General IBM MQ Support Posted: Thu Jun 26, 2014 2:29 am Subject: What is MQCB? |
Hi,
MQCB (MQ callback) is really for use when your program wants to do other stuff while you're waiting for messages to arrive on a queue(s).
The example I always think of is when an application ... |
Topic: readUTF() throws EOFException |
IanAlderson
Replies: 17 Views: 17793
|
Forum: IBM MQ Java / JMS Posted: Sun Jun 22, 2014 11:47 pm Subject: readUTF() throws EOFException |
al000y,
Glad to hear you got it to work.
Thanks |
Topic: readUTF() throws EOFException |
IanAlderson
Replies: 17 Views: 17793
|
Forum: IBM MQ Java / JMS Posted: Fri Jun 20, 2014 5:09 am Subject: readUTF() throws EOFException |
Letting the MQOutput node set the codepage/encoding is sound advice. But I think the problem here for the OP is that he is using a readUTF api which expects a 2 byte length field to precede the data ... |
Topic: readUTF() throws EOFException |
IanAlderson
Replies: 17 Views: 17793
|
Forum: IBM MQ Java / JMS Posted: Thu Jun 19, 2014 7:15 am Subject: readUTF() throws EOFException |
If I remember correctly you can only use the readUTF method for messages which have been put using writeUTF since it expects the first byte (or 2) to contain the length of the message.
Sorry, fo ... |
Topic: Unable to connect to new Queue Manager |
IanAlderson
Replies: 24 Views: 16992
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Jun 04, 2014 3:28 am Subject: Unable to connect to new Queue Manager |
Manish,
Also as a follow up, I would just like to make the following points
By granting altusr to the Windows ID connecting to MQ, you thereby allow it in theory to open queues under any ID that ... |
Topic: Unable to connect to new Queue Manager |
IanAlderson
Replies: 24 Views: 16992
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Jun 04, 2014 3:09 am Subject: Unable to connect to new Queue Manager |
Manish,
Did you try searching for setmqaut and altusr? You should find plentiful examples.
As was confirmed at the beginning of this thread, the error you are seeing is on the connection. If yo ... |
Topic: Unable to connect to new Queue Manager |
IanAlderson
Replies: 24 Views: 16992
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jun 03, 2014 3:29 am Subject: Unable to connect to new Queue Manager |
Well if you insist on using alternate user then look at what permissions are required. Try searching for setmqaut and altusr and you the information you need.
The key part you seem to be missing i ... |
Topic: Unable to connect to new Queue Manager |
IanAlderson
Replies: 24 Views: 16992
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jun 03, 2014 2:33 am Subject: Unable to connect to new Queue Manager |
You have been pointed to the answer already but you have not realised it
And the obvious question therefore is 'does the userid you are running the application under have the authority to connect t ... |