クラス ExpressionMessageProducerSupport

実装済みのインターフェース一覧:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, SmartInitializingSingleton, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle, ComponentSourceAware, ExpressionCapable, MessageProducer, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent
既知の直属サブクラス
ApplicationEventListeningMessageProducer

public abstract class ExpressionMessageProducerSupport extends MessageProducerSupport
送信するメッセージのペイロードとして結果を含む payloadExpression 評価を提供する MessageProducerSupport サブクラス。
導入:
2.1
作成者:
David Turanski, Artem Bilan, Gary Russell
  • コンストラクターの詳細

    • ExpressionMessageProducerSupport

      public ExpressionMessageProducerSupport()
  • 方法の詳細

    • setPayloadExpression

      public void setPayloadExpression(Expression payloadExpression)
      パラメーター:
      payloadExpression - 使用する式。
      導入:
      4.3
    • setPayloadExpressionString

      public void setPayloadExpressionString(StringSE payloadExpression)
      パラメーター:
      payloadExpression - SpEL 構文の文字列。
      導入:
      4.3
    • setIntegrationEvaluationContext

      public void setIntegrationEvaluationContext(EvaluationContext evaluationContext)
    • onInit

      protected void onInit()
      クラスからコピーされた説明: IntegrationObjectSupport
      サブクラスは、初期化ロジック用にこれを実装できます。
      オーバーライド:
      クラス MessageProducerSupportonInit 
    • evaluatePayloadExpression

      protected ObjectSE evaluatePayloadExpression(ObjectSE payload)