Class ApiResFromExchangeProcessor
java.lang.Object
com.skava.orchestration.processor.ApiResFromExchangeProcessor
- All Implemented Interfaces:
org.apache.camel.Processor
@Service("apiResFromExchangeProcessor")
public class ApiResFromExchangeProcessor
extends Object
implements org.apache.camel.Processor
The Class ApiResFromExchangeProcessor
This processor class set the response of some APIs in exchange.- Version:
- 8.6.0
- Author:
- Infosys Equinox
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAccByBuyerIdResFromExchange(org.apache.camel.Exchange exchange) sets accountsByBuyerId call's response in exchangevoidgetAccountTypeResponseByIdResFromExchange(org.apache.camel.Exchange exchange) sets getAccountTypeResponseByIdResFromExchange call's response in exchangevoidgetAuthSessionResFromExchange(org.apache.camel.Exchange exchange) sets authSessionResFromExchange call's response in exchangevoidgetUserByIdResFromExchange(org.apache.camel.Exchange exchange) sets getUserById call's response in exchangevoidgetUserPropertiesResFromExchange(org.apache.camel.Exchange exchange) sets userPropertiesResFromExchange call's response in exchangevoidgetUserSubscriptionAddressResponseByIdResFromExchange(org.apache.camel.Exchange exchange) sets getUserSubscriptionAddressResponseByIdResFromExchange call's response in exchangevoidgetUserSubscriptionPaymentResponseByIdResFromExchange(org.apache.camel.Exchange exchange) sets getUserSubscriptionPaymentResponseByIdResFromExchange call's response in exchangevoidprocess(org.apache.camel.Exchange exchange)
-
Field Details
-
USER_SUBSCRIPTION_PAYMENT_RESPONSE
- See Also:
-
USER_SUBSCRIPTION_ADDRESS_RESPONSE
- See Also:
-
USER_GETPROPERTIES_RESPONSE
- See Also:
-
AUTH_GETSESSION_RESPONSE
- See Also:
-
ACCOUNT_TYPE_RESPONSE
- See Also:
-
USER_ID_KEY_IN_EXCHAGNE
- See Also:
-
PAYMENT_ID_KEY_IN_EXCHAGNE
- See Also:
-
ADDRESS_ID_KEY_IN_EXCHAGNE
- See Also:
-
ACCOUNTTYPE_KEY_IN_EXCHAGNE
- See Also:
-
AUTH_SESSION_KEY_IN_EXCHAGNE
- See Also:
-
-
Constructor Details
-
ApiResFromExchangeProcessor
public ApiResFromExchangeProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceorg.apache.camel.Processor- Throws:
Exception
-
getAuthSessionResFromExchange
public void getAuthSessionResFromExchange(org.apache.camel.Exchange exchange) sets authSessionResFromExchange call's response in exchange- Parameters:
exchange- aExchangeinstance, which holds the information during the entire routing of a Message received by a Consumer.
-
getUserPropertiesResFromExchange
public void getUserPropertiesResFromExchange(org.apache.camel.Exchange exchange) sets userPropertiesResFromExchange call's response in exchange- Parameters:
exchange- aExchangeinstance, which holds the information during the entire routing of a Message received by a Consumer.
-
getAccByBuyerIdResFromExchange
public void getAccByBuyerIdResFromExchange(org.apache.camel.Exchange exchange) sets accountsByBuyerId call's response in exchange- Parameters:
exchange- aExchangeinstance, which holds the information during the entire routing of a Message received by a Consumer.
-
getUserByIdResFromExchange
public void getUserByIdResFromExchange(org.apache.camel.Exchange exchange) sets getUserById call's response in exchange- Parameters:
exchange- aExchangeinstance, which holds the information during the entire routing of a Message received by a Consumer.
-
getUserSubscriptionPaymentResponseByIdResFromExchange
public void getUserSubscriptionPaymentResponseByIdResFromExchange(org.apache.camel.Exchange exchange) sets getUserSubscriptionPaymentResponseByIdResFromExchange call's response in exchange- Parameters:
exchange- aExchangeinstance, which holds the information during the entire routing of a Message received by a Consumer.
-
getAccountTypeResponseByIdResFromExchange
public void getAccountTypeResponseByIdResFromExchange(org.apache.camel.Exchange exchange) sets getAccountTypeResponseByIdResFromExchange call's response in exchange- Parameters:
exchange- aExchangeinstance, which holds the information during the entire routing of a Message received by a Consumer.
-
getUserSubscriptionAddressResponseByIdResFromExchange
public void getUserSubscriptionAddressResponseByIdResFromExchange(org.apache.camel.Exchange exchange) sets getUserSubscriptionAddressResponseByIdResFromExchange call's response in exchange- Parameters:
exchange- aExchangeinstance, which holds the information during the entire routing of a Message received by a Consumer.
-