이 콘텐츠는 선택한 언어로 제공되지 않습니다.
40.4. Sort Messages by Operation Name
The operationName header 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
When the WS endpoint parses an incoming operation invocation in PROVIDER mode, it automatically sets the
operationName header to the name of the invoked operation. You can then use this header to sort messages by operation name.
Sorting by operation name 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
For example, the
customer-ws-camel-cxf-provider demonstration defines the following route, which uses the content-based router pattern to sort incoming messages, based on the operation name. The when predicates check the value of the operationName header using simple language expressions, sorting messages into invocations on the updateCustomer operation, the lookupCustomer operation, or the getCustomerStatus operation.