クラス TransformerEndpointSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<TransformerEndpointSpec, reactor.util.function.Tuple2<ConsumerEndpointFactoryBean, MessageTransformingHandler>>
org.springframework.integration.dsl.EndpointSpec<TransformerEndpointSpec, ConsumerEndpointFactoryBean, MessageTransformingHandler>
org.springframework.integration.dsl.ConsumerEndpointSpec<TransformerEndpointSpec, MessageTransformingHandler>
org.springframework.integration.dsl.TransformerEndpointSpec
- 実装されているすべてのインターフェース:
DisposableBean、FactoryBean<reactor.util.function.Tuple2<ConsumerEndpointFactoryBean, MessageTransformingHandler>>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
public class TransformerEndpointSpec
extends ConsumerEndpointSpec<TransformerEndpointSpec, MessageTransformingHandler>
MessageTransformingHandler オプションの ConsumerEndpointSpec。expression(String)、ref(Object)、refName(String)、processor(MessageProcessorSpec) または transformer(GenericTransformer) のいずれかを指定する必要があります。- 導入:
- 6.2
- 作成者:
- Artem Bilan, Ngoc Nhan
フィールドのサマリー
クラス org.springframework.integration.dsl.ConsumerEndpointSpec から継承されたフィールド
adviceChainクラス org.springframework.integration.dsl.EndpointSpec から継承されたフィールド
componentsToRegister, endpointFactoryBean, handlerクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明expectedType(ClassSE<P> expectedType) GenericTransformer入力引数の型を設定します。expression(StringSE expression) ターゲットハンドラーにExpressionEvaluatingTransformerを使用する式を指定します。expression(Expression expression) ターゲットハンドラーにExpressionEvaluatingTransformerを使用する式を指定します。呼び出すサービスメソッド名を指定します。processor(MessageProcessorSpec<?> processor) MethodInvokingTransformerデリゲートのファクトリとしてMessageProcessorSpecを提供します。ターゲットハンドラーにMethodInvokingTransformerを使用するサービスを提供します。ターゲットハンドラーにMethodInvokingTransformer(BeanNameMessageProcessorに基づく) を使用するには、Bean 名を指定します。<P,T> TransformerEndpointSpec transformer(GenericTransformer<P, T> transformer) GenericTransformerをMessageTransformingHandlerの直接のデリゲートとして指定します。クラス org.springframework.integration.dsl.ConsumerEndpointSpec から継承されたメソッド
advice, async, autoStartup, customizeMonoReply, doGet, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, reactive, reactive, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactionalクラス org.springframework.integration.dsl.EndpointSpec から継承されたメソッド
id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingletonインターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
TransformerEndpointSpec
protected TransformerEndpointSpec()
メソッドの詳細
expression
ターゲットハンドラーにExpressionEvaluatingTransformerを使用する式を指定します。- パラメーター:
expression- 使用する SpEL 式。- 戻り値:
- TransformerSpec
expression
ターゲットハンドラーにExpressionEvaluatingTransformerを使用する式を指定します。- パラメーター:
expression- 使用する SpEL 式。- 戻り値:
- TransformerSpec
ref
ターゲットハンドラーにMethodInvokingTransformerを使用するサービスを提供します。- パラメーター:
ref- トランスフォーマー POJO として呼び出すサービス。- 戻り値:
- TransformerSpec
refName
ターゲットハンドラーにMethodInvokingTransformer(BeanNameMessageProcessorに基づく) を使用するには、Bean 名を指定します。- パラメーター:
refName- トランスフォーマー POJO として呼び出すサービスの Bean 名。- 戻り値:
- TransformerSpec
method
呼び出すサービスメソッド名を指定します。オプション。ref(Object)またはrefName(String)とのみ併用してください。- パラメーター:
method- 呼び出すサービスメソッド名。- 戻り値:
- TransformerSpec
transformer
GenericTransformerをMessageTransformingHandlerの直接のデリゲートとして指定します。- 型パラメーター:
P- 入力型。T- 出力型。- パラメーター:
transformer- 使用するGenericTransformerインスタンス。- 戻り値:
- TransformerSpec
expectedType
GenericTransformer入力引数の型を設定します。Messageにすることもできます。transformer(GenericTransformer)を除く他のすべてのトランスフォーマーでは無視されます。- 型パラメーター:
P- 期待しない型。- パラメーター:
expectedType-GenericTransformer入力引数の型。- 戻り値:
- スペック。
processor
MethodInvokingTransformerデリゲートのファクトリとしてMessageProcessorSpecを提供します。- パラメーター:
processor- 使用するMessageProcessorSpec。- 戻り値:
- TransformerSpec
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistrationのgetComponentsToRegister - オーバーライド:
- クラス
EndpointSpec<TransformerEndpointSpec, ConsumerEndpointFactoryBean, MessageTransformingHandler>のgetComponentsToRegister