Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

You can append query options to the URI in the following format, ?option=value&option=value&...

Krati URI Options

Div
classconfluenceTableSmall

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,

JenkisHashFunction,

MurmurHashFunctiom | | {{maxMessagesPerPoll}} | | *Camel

MurmurHashFunctiom

maxMessagesPerPoll

 

Camel 2.10.5/2.11.1:

*

The

maximum

number

of

messages

which

can

be

received

in

one

poll.

This

can

be

used

to

avoid

reading

in

too

much

data

and

taking

up

too

much

memory.

| {div}

You can have as many of these options as you like.

...

Message Headers for datastore

Div
classconfluenceTableSmall

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.

...