インターフェース MethodRabbitListenerEndpoint.AdapterProvider
- 含まれているクラス:
- MethodRabbitListenerEndpoint
public static interface MethodRabbitListenerEndpoint.AdapterProvider
リスナーアダプターのプロバイダー。
- 導入:
- 2.4
メソッドのサマリー
修飾子と型メソッド説明getAdapter
(boolean batch, ObjectSE bean, MethodSE method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, BatchingStrategy batchingStrategy) アダプターインスタンスを取得します。
メソッドの詳細
getAdapter
MessagingMessageListenerAdapter getAdapter(boolean batch, ObjectSE bean, MethodSE method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, @Nullable BatchingStrategy batchingStrategy) アダプターインスタンスを取得します。- パラメーター:
batch
- バッチリスナーの場合は true。bean
- Bean。method
- メソッド。returnExceptions
- 例外を返す場合は true。errorHandler
- エラーハンドラー。batchingStrategy
- バッチリスナーのバッチ戦略。- 戻り値:
- アダプター。