Class InsertOperation
- java.lang.Object
-
- org.apache.camel.component.nitrite.AbstractNitriteOperation
-
- org.apache.camel.component.nitrite.operation.AbstractPayloadAwareOperation
-
- org.apache.camel.component.nitrite.operation.common.InsertOperation
-
- All Implemented Interfaces:
CollectionOperation
,CommonOperation
,RepositoryOperation
public class InsertOperation extends AbstractPayloadAwareOperation implements CommonOperation
Insert document to collection or object to ObjectRepository. If parameter not specified, inserts message body
-
-
Constructor Summary
Constructors Constructor Description InsertOperation()
InsertOperation(Object payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute(org.apache.camel.Exchange exchange, NitriteEndpoint endpoint)
-
Methods inherited from class org.apache.camel.component.nitrite.operation.AbstractPayloadAwareOperation
getPayload
-
-
-
-
Constructor Detail
-
InsertOperation
public InsertOperation(Object payload)
-
InsertOperation
public InsertOperation()
-
-
Method Detail
-
execute
protected void execute(org.apache.camel.Exchange exchange, NitriteEndpoint endpoint) throws Exception
- Specified by:
execute
in classAbstractNitriteOperation
- Throws:
Exception
-
-