Class JmsPostProcessor<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GenericJmsProducerConfiguration getConfiguration()  
      void invoke​(T originalMessage, javax.jms.Message jmsMessage)
      Invocation of a post processor operation for enhancing/transforming a target message based on the incoming source message.
      void setConfiguration​(GenericJmsProducerConfiguration configuration)  
      void setManagedEventIdentifierService​(org.ikasan.spec.event.ManagedRelatedEventIdentifierService<java.lang.String,​javax.jms.Message> managedEventIdentifierService)
      Allow override of the default managed identifier service
      protected void setMessageProperties​(javax.jms.Message message, java.util.Map<java.lang.String,​?> properties)
      Set the specified properties in the message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JmsPostProcessor

        public JmsPostProcessor()
    • Method Detail

      • setManagedEventIdentifierService

        public void setManagedEventIdentifierService​(org.ikasan.spec.event.ManagedRelatedEventIdentifierService<java.lang.String,​javax.jms.Message> managedEventIdentifierService)
        Allow override of the default managed identifier service
        Parameters:
        managedEventIdentifierService -
      • invoke

        public void invoke​(T originalMessage,
                           javax.jms.Message jmsMessage)
        Description copied from interface: PostProcessor
        Invocation of a post processor operation for enhancing/transforming a target message based on the incoming source message.
        Specified by:
        invoke in interface PostProcessor<T,​javax.jms.Message>
      • setMessageProperties

        protected void setMessageProperties​(javax.jms.Message message,
                                            java.util.Map<java.lang.String,​?> properties)
                                     throws javax.jms.JMSException
        Set the specified properties in the message.
        Parameters:
        properties -
        Throws:
        javax.jms.JMSException
      • getConfiguration

        public GenericJmsProducerConfiguration getConfiguration()
        Specified by:
        getConfiguration in interface org.ikasan.spec.configuration.Configured<T>
      • setConfiguration

        public void setConfiguration​(GenericJmsProducerConfiguration configuration)
        Specified by:
        setConfiguration in interface org.ikasan.spec.configuration.Configured<T>