You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Async
public class CreateCustomerAccountRoute {
public URI getOutURI() {
return BillingAccountRoutes.URI_CREATE_CUSTOMER_ACCOUNT;
}
@Validator
public Processor validateMandatoryFields() {
}
}
@Async(operationName="CreateSazkaCustomer", guaranteedOrder=true)
public class CreateCustomerAccountRoute {
@OutUri
public String getOutURI() {
return BillingAccountRoutes.URI_CREATE_CUSTOMER_ACCOUNT;
}
@Validator
public Processor validateMandatoryFields() {
}
@FunnelValue
public Expression getFunnelExpression() {
}
@ObjectId
public Expression getFunnelExpression() {
}
}
Main prerequisites:
support most often scenarious, not all cases. (analogy to Spring Security configuration)
use convention-over-configuration principle
Benefits:
focus on implementing important parts of integration, not needed to solve boiler-code
less error-prone
support for unit tests
not tighly dependant to specific protocol/service (JMS, WS, HTTP)
Simplify and offer more productivity for often and common task when input route is implemented.
Focus on the most often use cases during input routes implementation:
The text was updated successfully, but these errors were encountered: