camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: HazelcastComponent deprecated in 2.20
Date Tue, 28 Nov 2017 12:23:46 GMT
Hi

The hazelcast component has been divided into specialized components
so you can find a component for map, list, topic etc, and use that
component.
This is sometimes needed if a component otherwise becomes too generic.
for example we have done the same with the twitter component.



On Mon, Nov 27, 2017 at 10:02 PM, John Smith <jszjsmith@googlemail.com> wrote:
> Hello there, I'm using the HazelcastComponent in one of my projects where I
> configure a hazelcast instance in blueprint and inject that bean into my
> routebuilder where I use code such as:
>
> HazelcastComponent hc = new HazelcastComponent();
>     hc.setHazelcastInstance(hazelcastInstance);
>     getContext().addComponent("my-hc", hc);
>
> I notice that in 2.20 HazelcastComponent has become deprecated but I cannot
> find anything to explain why in the 2.20 release notes.
>
> Can anybody help me out with an explanation please ?
>
> many thanks,
> John.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message