cancel
Showing results for 
Search instead for 
Did you mean: 

Condition in Receiver Communiation Channel

Former Member
0 Kudos

Hi,

What is the use of Condition in Receiver Communication Channel. For what kind of things we will use this condition. Pls provide some example and how to write.

How it handle by ReciverCC

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member859847
Active Contributor
0 Kudos

Hi,

we don't have any choice to put condition in receiver communication channel unless you prepare a custom adapter

module.

i think, you are palnning for dynamic file name,

in that case pls enable variable sbstitution concept.

you want to add any additional paramters, please go adavnce mode option in receiver file adapter.

warm regards

mahesh.

Former Member
0 Kudos

Hi,

You havent give condition is Reciver CC. You have to specify in Receiver Determination.

Thanks,

RamuV

deepak_shah
Contributor
0 Kudos

Hi

u use conditional receiver determination Determine the receiver dynamically at runtime from the content of the message

A condition generally refers to the content of a message. If the specified condition is fulfilled for a particular payload element then the message is forwarded to the specified receiver(s)

To define a condition, use the condition editor.

Content based receiver determination is possible via XPATH or Context Object

XI during runtime will check the condition and based on it will determine the appropriate receiver.

these links will help u

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

XPATH in Interfce Det:

/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

Note: reward points if solution found helpfull

Edited by: Deepak Shah on Jun 20, 2008 12:45 PM

Former Member
0 Kudos

Hi,

I guess you are talking about condition in receiver determination.

The condition in receiver determination can't split the XML message in several diferent messages containing only this or that record. Since the message attends the condition you have specified (because it contains a record for mat group 2) it will be sent to receiver 2.

If you do have that necessity, you will have to create different mappings for each receiver. In the case, the receiver determination should be exactly how you've done, but the interface determination should refer to another mapping. In this new mapping, only let the records for mat group 2 to be mapped to source message.

Thanks

Virkanth

former_member556412
Active Participant
0 Kudos

Hi,

Condition in receiver determination is not thing but if else case.

Say for the case i want to send a file to two different destination.

depending upon the condition.

if the condition satisfied then place the file in destination 1 else place the file in destination 2 Using the correspomding communication channel.

Edited by: nanduri bhanu on Jun 20, 2008 12:01 PM

Former Member
0 Kudos

Hi,

I don't what this Condition in Receiver Communiation Channel is..

But we have it in receiver determination..to identify a receiver based on a particular condition.

Check these blogs

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

.

Thanks,

Vijaya.