クラス ExpressionMessageProducerSupport

実装されたすべてのインターフェース:
AwareBeanFactoryAwareBeanNameAwareDisposableBeanInitializingBeanSmartInitializingSingletonApplicationContextAwareLifecyclePhasedSmartLifecycleExpressionCapableMessageProducerIntegrationPatternNamedComponentIntegrationInboundManagementIntegrationManagementManageableLifecycleManageableSmartLifecycleTrackableComponent
既知の直属サブクラス
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)