...
In this case the payload can be any object inheriting from the Jini Entry.
Sending and receiving serializable objects
Using the routes as above it's also possible to send and receive any serializable object. The camel component detects that the payload is not a Jini Entry and then it automatically wraps the payload into a Camel Jini Entry. In this way a JavaSpace can be used as a generic transport.
Options
Name | Default Value | Description |
---|---|---|
spaceName | null | This is the JavaSpace name |
verb | take | This is the verb for getting JavaSpace entries, it can be: take or read |
transactional | false | if true, sending and receiving of entries is performed under a transaction |
transactionalTimeout | Long.MAX_VALUE | the transaction timeout |
concurrentConsumers | 1 | the number of concurrent consumer getting entries from the JavaSpace |
templateId | null | if present, this option it's a Spring Bean id to be used as a template for reading/taking entries |
...