Class PutCommand

  • All Implemented Interfaces:
    Command

    public class PutCommand
    extends Object
    • Method Detail

      • act

        public void act​(com.surftools.BeanstalkClient.Client client,
                        org.apache.camel.Exchange exchange)
                 throws org.apache.camel.NoSuchHeaderException
        Throws:
        org.apache.camel.NoSuchHeaderException
      • getAnswerMessage

        protected org.apache.camel.Message getAnswerMessage​(org.apache.camel.Exchange exchange)
      • answerWith

        protected void answerWith​(org.apache.camel.Exchange exchange,
                                  String header,
                                  Object value)