com.ibm.commerce.messaging.outboundservice

Class Messaging.AsyncMessagingWorker

  • java.lang.Object
    • com.ibm.commerce.messaging.outboundservice.Messaging.AsyncMessagingWorker
  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    Messaging


    public class Messaging.AsyncMessagingWorker
    extends java.lang.Object
    implements java.lang.Runnable
    The worker class for composing and sending a message asynchronously
    • Field Detail

      • THREAD_MESSAGE_REMOTE

        public static final java.lang.String THREAD_MESSAGE_REMOTE
        The thread pool name for asynchronous messaging
        See Also:
        Constant Field Values
    • Constructor Detail

      • AsyncMessagingWorker

        public AsyncMessagingWorker()
    • Method Detail

      • getMessaging

        public Messaging getMessaging()
        Get the messaging object
        Returns:
        the messaging object
      • setMessaging

        public void setMessaging(Messaging messaging)
        Set the messaging object
        Parameters:
        messaging - the messaging object
      • getCommandContext

        public CommandContext getCommandContext()
        Get the command context
        Returns:
        the command context
      • setCommandContext

        public void setCommandContext(CommandContext cmdContext)
        Set the command context
        Parameters:
        cmdContext - the command context
      • getRequestProperties

        public TypedProperty getRequestProperties()
        Get the request properties
        Returns:
        the request properties
      • setRequestProperties

        public void setRequestProperties(TypedProperty requestProperties)
        Set the request properties
        Parameters:
        requestProperties - the request properties
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable