Class AbstractOpenstackProducer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.openstack4j.api.OSClient os  
      • Fields inherited from class org.apache.camel.support.service.BaseService

        BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkFailure​(org.openstack4j.model.common.ActionResponse response, org.apache.camel.Exchange exchange, String operation)  
      protected org.openstack4j.model.common.Payload createPayload​(org.apache.camel.Message msg)  
      protected String getOperation​(org.apache.camel.Exchange exchange)  
      • Methods inherited from class org.apache.camel.support.DefaultProducer

        createExchange, doStart, doStop, getEndpoint, isSingleton, toString
      • Methods inherited from class org.apache.camel.support.service.BaseService

        build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
      • Methods inherited from interface org.apache.camel.Processor

        process
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
      • Methods inherited from interface org.apache.camel.ShutdownableService

        shutdown
      • Methods inherited from interface org.apache.camel.StatefulService

        getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
      • Methods inherited from interface org.apache.camel.SuspendableService

        isSuspended, resume, suspend
    • Field Detail

      • os

        protected org.openstack4j.api.OSClient os
    • Constructor Detail

      • AbstractOpenstackProducer

        public AbstractOpenstackProducer​(AbstractOpenstackEndpoint endpoint,
                                         org.openstack4j.api.OSClient client)
    • Method Detail

      • createPayload

        protected org.openstack4j.model.common.Payload createPayload​(org.apache.camel.Message msg)
      • getOperation

        protected String getOperation​(org.apache.camel.Exchange exchange)
      • checkFailure

        protected void checkFailure​(org.openstack4j.model.common.ActionResponse response,
                                    org.apache.camel.Exchange exchange,
                                    String operation)