Interface MessagingChannelProcessor
- All Known Implementing Classes:
- MessagingLivenessCheck,- MessagingReadinessCheck
public interface MessagingChannelProcessor
Application scoped bean implementing MessagingChannelProcessor can peek on reactive events
 in the messaging channel.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intDefault priority for channel processor.
- 
Method SummaryModifier and TypeMethodDescriptionMessaging channel name associated with this processor.default Message<?> Map messages going through the onNext signal in the messaging channel.default voidListener for the cancel coming from the downstream.default voidonComplete(String channelName) Listener for the onComplete signal coming from the upstream.default voidListener for the onError event coming from the upstream.default voidListener for the initial event before actual subscribing.default voidListener for the request coming from the downstream.default voidonSubscribe(String channelName, Subscriber<Message<?>> subscriber, Subscription subscription) Listener for the onSubscribe signal coming from the upstream.
- 
Field Details- 
DEFAULT_PRIORITYstatic final int DEFAULT_PRIORITYDefault priority for channel processor.- See Also:
 
 
- 
- 
Method Details- 
mapMap messages going through the onNext signal in the messaging channel.- Parameters:
- channelName- name of the messaging channel
- message- message coming from the upstream
- Returns:
- mapped message to be delivered to the downstream
 
- 
onErrorListener for the onError event coming from the upstream.- Parameters:
- channelName- name of the messaging channel
- t- error causing the onError signal
 
- 
onRequestListener for the request coming from the downstream.- Parameters:
- channelName- name of the messaging channel
- req- number of items requested by the downstream
 
- 
onCancelListener for the cancel coming from the downstream.- Parameters:
- channelName- name of the messaging channel
 
- 
onCompleteListener for the onComplete signal coming from the upstream.- Parameters:
- channelName- name of the messaging channel
 
- 
onSubscribedefault void onSubscribe(String channelName, Subscriber<Message<?>> subscriber, Subscription subscription) Listener for the onSubscribe signal coming from the upstream.- Parameters:
- channelName- name of the messaging channel
- subscriber- subscriber causing this onSubscribe signal
- subscription- assigned subscription
 
- 
onInitListener for the initial event before actual subscribing.- Parameters:
- channelName- name of the messaging channel
 
- 
channelNameMessaging channel name associated with this processor. If the channel name is empty this processor is applied to the all channels.- Returns:
- Channel name or empty for all channels
 
 
-