camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: Camel-hazelcast project example
Date Mon, 02 May 2016 15:05:57 GMT
I'm using camel-hazelcast in OSGi (for caching), and here's how I
configured it in blueprint:

https://gist.github.com/jvz/3a825582f8794cce4b1fff85705bdd6c

You can reference it in other bundles like so:

<reference id="hazelcast" component-name="hazelcast"
interface="org.apache.camel.Component"/>

Then it works like normal:

from()...to("hazelcast:map:FooMap")

On 2 May 2016 at 06:50, NikheelRanjan <nikheel.ranjan@gmail.com> wrote:

> I was going through this
> link(
> http://camel.apache.org/hazelcast-component.html#HazelcastComponent-map)
> and we are planning to use hazelcast for caching in our project.
> I need some help in how to use it in osgi based environment and how to use
> maps to load data from queries.Also One query can have multiple paramerts
> which I am using to get the set of data.How can I utilise this as a
> combination to get benefit of camel-hazelcast component as maps require
> only
> one as the key?
> It will be good if some one can share a sample project with camel-hazelcast
> n osgi and loading maps through queries.
> Any other suggestions are welcome.
> Many thanks in advance.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-hazelcast-project-example-tp5782073.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Matt Sicker <boards@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message