...
You can append query options to the URI in the following format, ?option=value&option=value&...
Krati URI Options
Div |
---|
class | confluenceTableSmall |
---|
|
Name | Default Value | Description |
---|
operation | CamelKratiPut | Producer Only. Specifies the type of operation that will be performed to the datastore. Allowed values are CamelKratiPut, CamelKratiGet, CamelKratiDelete & CamelKratiDeleteAll. | initialCapacity | 100 | The inital capcity of the store. | keySerializer | KratiDefaultSerializer | The serializer serializer that will be used to serialize the key. | valueSerializer | KratiDefaultSerializer | The serializer serializer that will be used to serialize the value. | segmentFactory | ChannelSegmentFactory | The segment factory to use. Allowed instance classes: ChannelSegmentFactory,MemorySegmentFactory, MappedSegmentFactory & WriteBufferSegmentFactory. | hashFunction | FnvHashFunction | The hash function to use. Allowed instance classes: |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| {{operation}} | CamelKratiPut | *Producer Only*. Specifies the type of operation that will be performed to the datastore. Allowed values are CamelKratiPut, CamelKratiGet, CamelKratiDelete & CamelKratiDeleteAll. |
| {{initialCapacity}} | 100 | The inital capcity of the store. |
| {{keySerializer}} | KratiDefaultSerializer | The serializer serializer that will be used to serialize the key. |
| {{valueSerializer}} | KratiDefaultSerializer | The serializer serializer that will be used to serialize the value. |
| {{segmentFactory}} | ChannelSegmentFactory | The segment factory to use. Allowed instance classes: ChannelSegmentFactory,MemorySegmentFactory, MappedSegmentFactory & WriteBufferSegmentFactory. |
| {{hashFunction}} | FnvHashFunction | The hash function to use. Allowed instance classes: FnvHashFunction,Fnv1Hash32,FnvHash64,Fnv1aHash32,Fnv1aHash64, |
MurmurHashFunctiom |
| {{maxMessagesPerPoll}} | | *Camel MurmurHashFunctiom | maxMessagesPerPoll | | Camel 2.10.5/2.11.1: |
* |
{div} |
You can have as many of these options as you like.
...
Div |
---|
class | confluenceTableSmall |
---|
|
Header | Description |
---|
CamelKratiOperation | The operation to be performed on the datastore. The valid options are - CamelKratiAdd
- CamelKratiGet
- CamelKratiDelete
- CamelKratiDeleteAll
| CamelKratiKey | The key. | CamelKratiValue | The value. |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Header || Description ||
| {{CamelKratiOperation}} | The operation to be performed on the datastore. The valid options are
- CamelKratiAdd
- CamelKratiGet
- CamelKratiDelete
- CamelKratiDeleteAll |
| {{CamelKratiKey}} | The key. |
| {{CamelKratiValue}} | The value. |
{div} |
Usage Samples
Example 1: Putting to the datastore.
...