Author |
Message
|
NikoP |
Posted: Thu Jan 22, 2004 4:55 am Post subject: how to delete/destroy message ? |
|
|
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 |
|
 |
Tibor |
Posted: Thu Jan 22, 2004 5:05 am Post subject: |
|
|
 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 |
|
 |
NikoP |
Posted: Thu Jan 22, 2004 5:09 am Post subject: |
|
|
Novice
Joined: 08 Dec 2003 Posts: 16
|
so that's perfect !
I needed the confirmation of that
Thanks |
|
Back to top |
|
 |
fschofer |
Posted: Thu Jan 22, 2004 5:20 am Post subject: |
|
|
 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 |
|
 |
fschofer |
Posted: Thu Jan 22, 2004 6:27 am Post subject: |
|
|
 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 |
|
 |
|