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 » WebSphere Message Broker (ACE) Support » how to delete/destroy message ?

Post new topic  Reply to topic
 how to delete/destroy message ? « View previous topic :: View next topic » 
Author Message
NikoP
PostPosted: Thu Jan 22, 2004 4:55 am    Post subject: how to delete/destroy message ? Reply with quote

Novice

Joined: 08 Dec 2003
Posts: 16

Hi !

Another stupid question from me...

What is the correct way to destroy an incoming message (i.e. not process it) ?

My incoming messages are from 4 types. 3 should be processed and the last one must be ignored.
I use a RouteToLabel to route the 4 types and it works.

How should I make the 4th type (after being identified) to be destroyed (no output queue can be used - no DeadLetterQueue post)

Thanks !
Back to top
View user's profile Send private message
Tibor
PostPosted: Thu Jan 22, 2004 5:05 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

A message flow is processing thru nodes until last. So if your last node is a 'Label' node (or any non-transactional node) without any outbound connector, your message will fly away.

Tibor
Back to top
View user's profile Send private message
NikoP
PostPosted: Thu Jan 22, 2004 5:09 am    Post subject: Reply with quote

Novice

Joined: 08 Dec 2003
Posts: 16

so that's perfect !
I needed the confirmation of that

Thanks
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Jan 22, 2004 5:20 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
you can also insert the following statement in the compute node which fills your Routing Destination.

RETURN FALSE;

This will prevent the propagation of your message.

Greetings Frank
Back to top
View user's profile Send private message Send e-mail
fschofer
PostPosted: Thu Jan 22, 2004 6:27 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
you can also insert the following statement in the compute node which fills your Routing Destination.

RETURN FALSE;

This will prevent the propagation of your message.

Greetings Frank
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to delete/destroy message ?
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.