1.

What Is Camel Exchange? Explain Its Structure?

Answer»

A Camel Exchange can be called as an holder for holding message during routing. A exchange supports various message exchange patterns, like InOnly and InOut.

Following are the contents of camel exchange:

ExchangeId: A UNIQUE IDENTIFIER for each exchange

Message Exchange Pattern: This FIELD denotes whether you are using InOnly or InOut exchange pattern.

Exception: If any exception occurs during routing, it will be available in this field.

Properties: These are the properties that are available for entire DURATION of exchange.

In Message: This is mandatory field which contains the input message.

Out Message: This is optional message which EXISTS only if MEP is InOut.

A Camel Exchange can be called as an holder for holding message during routing. A exchange supports various message exchange patterns, like InOnly and InOut.

Following are the contents of camel exchange:

ExchangeId: A unique identifier for each exchange

Message Exchange Pattern: This field denotes whether you are using InOnly or InOut exchange pattern.

Exception: If any exception occurs during routing, it will be available in this field.

Properties: These are the properties that are available for entire duration of exchange.

In Message: This is mandatory field which contains the input message.

Out Message: This is optional message which exists only if MEP is InOut.



Discussion

No Comment Found