ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » not able to get messages

Post new topic  Reply to topic
 not able to get messages « View previous topic :: View next topic » 
Author Message
skoesters
PostPosted: Mon Aug 11, 2008 7:08 am    Post subject: not able to get messages Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

Hi,

i have a Problem in my MQ7 Testenvironment which looks like this:

Host1:

local queue: LOCAL.QUEUE
transmission queue: TRANS.QUEUE
definition: LOCAL.DEF.REMOTE

sender channel: 1.CHANNEL
receiver channel: 2.CHANNEL

Host2:

local queue: LOCAL.QUEUE
transmission queue: TRANS.QUEUE
definition: LOCAL.DEF.REMOTE

sender channel: 2.CHANNEL
receiver channel: 1.CHANNEL

all channels are connecting correct.

Now my Problem.

before MQ7 i used MQ6 with the same configuration.

I am pretty sure that i was able (under MQ6) to start amqsput -> send a message -> close amqsput -> start amqsget on the other side and receive the message -> close amqsget. Then i did the steps again and received the next message.

Now under MQ7 i cant do this anymore.

If if start amqsput -> send a message -> close amqsput -> start amqsget on the other side, then there is a Message. When i now stop amqsget and do the same steps again, then there is no more message in the queue.

BUT

if i then start amqsget on the receiver -> start amqsput on the sender -> send a message, then i am able to see it on the receiver. Now amqsget has to run while i am sending the message. If it is not runnig, the message is lost.

i do not understand why. The configuration is the same as under MQ6.

Hope someone can help!

Thanks in Advanced.

regards
Sebastian
Back to top
View user's profile Send private message
ranganathan
PostPosted: Mon Aug 11, 2008 7:19 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

I guess..once you get a message using 'amqsget'.. then the message will be lost.. if your installation platform is Windows.. try using browse message from the MQExplorer..As far as i know even in MQ v 6.0 messages will be lost if you do 'amqsget'.
Back to top
View user's profile Send private message
skoesters
PostPosted: Mon Aug 11, 2008 7:25 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

its linux.

you are right. if i once used get, the last message is lost.

but i send a message bevor starting get again. put -> send -> get

get should show the message. once showed i cant rewatch it again with get...thats ok
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Aug 17, 2008 2:24 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
you are right. if i once used get, the last message is lost.

No, not right at all. MQ does not lose messages. But programmers and admins can create the environment where messages might appear to be lost.

The amqsget utility does a destructive read of the message in the queue. This is the default behavior of the MQGET api call. By using the MQGET call or amqsget, you have directed the qmgr to erase, purge, erradicate, destroy, delete, the message permanently. The message is not lost.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » not able to get messages
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.