...
Maven users will need to add the following dependency to their pom.xml
for this component:
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-mina</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> |
...
Code Block |
---|
mina:tcp://hostname[:port][?options] mina:udp://hostname[:port][?options] mina:multicast://hostname[:port][?options] mina:vm://hostname[:port][?options] |
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. By default the object serialization is used.
For UDP /Multicast if no codec is specified the default uses a basic ByteBuffer
based codec.Multicast also has a shorthand notation mcast.
The VM protocol is used as a direct forwarding mechanism in the same JVM. See the MINA VM-Pipe API documentation for details.
...