...
Code Block |
---|
mina:tcp://hostname[:port] mina:udp://hostname[:port] mina:multicast://hostname[:port] |
From Camel 1.3 onwards you can specify a codec in the Registry using the codec option. If you are using TCP and no codec is specified then the textline flag is used to determine if text line based codec or object serialization should be used instead.
For UDP/Multicast if no codec is specified the default uses a basic ByteBuffer based codec.
Options
Name | Default Value | Description |
---|---|---|
codec | null | As of 1.3 or later you can refer to a named ProtocolCodecFactory instance in your Registry such as your Spring ApplicationContext which is then used for the marshalling |
textline | null | Only used for TCP. If no codec is specified then you can use this flag in 1.3 or later to indicate a text line based codec; if not specified or the value is false then Object Serialization is assumed over TCP. |
Include Page | ||||
---|---|---|---|---|
|