Class PaymentSetHeaderPaymentId
java.lang.Object
com.skava.cart.orchestration.processor.PaymentSetHeaderPaymentId
- All Implemented Interfaces:
org.apache.camel.Processor
@Service
public class PaymentSetHeaderPaymentId
extends Object
implements org.apache.camel.Processor
The Class PaymentSetHeaderPaymentId
This processor class is used to set header paymentId based on the microservice payment response- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(org.apache.camel.Exchange exchange) This process method is used to set header paymentId based on the microservice payment response
-
Constructor Details
-
PaymentSetHeaderPaymentId
public PaymentSetHeaderPaymentId()
-
-
Method Details
-
process
public void process(org.apache.camel.Exchange exchange) This process method is used to set header paymentId based on the microservice payment response- Specified by:
process
in interfaceorg.apache.camel.Processor
- Parameters:
exchange
- Indicates aExchange
instance, which holds the information during the entire routing of a Message received by a Consumer.
-