org.apache.camel.component.aws.sdb
Class AbstractSdbCommand

java.lang.Object
  extended by org.apache.camel.component.aws.sdb.AbstractSdbCommand
Direct Known Subclasses:
BatchDeleteAttributesCommand, BatchPutAttributesCommand, DeleteAttributesCommand, DeleteDomainCommand, DomainMetadataCommand, GetAttributesCommand, ListDomainsCommand, PutAttributesCommand, SelectCommand

public abstract class AbstractSdbCommand
extends Object


Field Summary
protected  SdbConfiguration configuration
           
protected  org.apache.camel.Exchange exchange
           
protected  org.slf4j.Logger log
           
protected  com.amazonaws.services.simpledb.AmazonSimpleDB sdbClient
           
 
Constructor Summary
AbstractSdbCommand(com.amazonaws.services.simpledb.AmazonSimpleDB sdbClient, SdbConfiguration configuration, org.apache.camel.Exchange exchange)
           
 
Method Summary
protected  Boolean determineConsistentRead()
           
protected  String determineDomainName()
           
protected  String determineItemName()
           
protected  String determineNextToken()
           
protected  com.amazonaws.services.simpledb.model.UpdateCondition determineUpdateCondition()
           
abstract  void execute()
           
protected  org.apache.camel.Message getMessageForResponse(org.apache.camel.Exchange exchange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.slf4j.Logger log

sdbClient

protected com.amazonaws.services.simpledb.AmazonSimpleDB sdbClient

configuration

protected SdbConfiguration configuration

exchange

protected org.apache.camel.Exchange exchange
Constructor Detail

AbstractSdbCommand

public AbstractSdbCommand(com.amazonaws.services.simpledb.AmazonSimpleDB sdbClient,
                          SdbConfiguration configuration,
                          org.apache.camel.Exchange exchange)
Method Detail

execute

public abstract void execute()

getMessageForResponse

protected org.apache.camel.Message getMessageForResponse(org.apache.camel.Exchange exchange)

determineDomainName

protected String determineDomainName()

determineItemName

protected String determineItemName()

determineConsistentRead

protected Boolean determineConsistentRead()

determineUpdateCondition

protected com.amazonaws.services.simpledb.model.UpdateCondition determineUpdateCondition()

determineNextToken

protected String determineNextToken()


Apache Camel