クラス EndpointUtils
java.lang.ObjectSE
org.springframework.integration.amqp.support.EndpointUtils
メッセージングエンドポイントのユーティリティメソッド。
- 導入:
- 5.1.3
- 作成者:
- Gary Russell, Artem Bilan
メソッドのサマリー
修飾子と型メソッド説明errorMessagePayload
(ListSE<Message> messages, com.rabbitmq.client.Channel channel, boolean isManualAck, ExceptionSE ex) isManualAck が false か true かに応じて、ListenerExecutionFailedException
またはManualAckListenerExecutionFailedException
を返します。errorMessagePayload
(Message message, com.rabbitmq.client.Channel channel, boolean isManualAck, ExceptionSE ex) isManualAck が false か true かに応じて、ListenerExecutionFailedException
またはManualAckListenerExecutionFailedException
を返します。
メソッドの詳細
errorMessagePayload
public static ListenerExecutionFailedException errorMessagePayload(Message message, com.rabbitmq.client.Channel channel, boolean isManualAck, ExceptionSE ex) isManualAck が false か true かに応じて、ListenerExecutionFailedException
またはManualAckListenerExecutionFailedException
を返します。- パラメーター:
message
- 失敗したメッセージ。channel
- チャンネル。isManualAck
- コンテナーが手動確認応答を使用する場合は true。ex
- 例外。- 戻り値:
- 例外。
errorMessagePayload
public static ListenerExecutionFailedException errorMessagePayload(ListSE<Message> messages, com.rabbitmq.client.Channel channel, boolean isManualAck, ExceptionSE ex) isManualAck が false か true かに応じて、ListenerExecutionFailedException
またはManualAckListenerExecutionFailedException
を返します。- パラメーター:
messages
- 失敗したメッセージ。channel
- チャンネル。isManualAck
- コンテナーが手動確認応答を使用する場合は true。ex
- 例外。- 戻り値:
- 例外。
- 導入:
- 5.3