[
https://issues.apache.org/jira/browse/CAMEL-6843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791412#comment-13791412
]
Christian Müller commented on CAMEL-6843:
-----------------------------------------
I propose to @deprecate the existing one and update it to use the correct
spelling. And of course add a new one with the correct spelling.
{noformat}
@deprecate
HazelcastConstants.ENVICTED = "evicted"
HazelcastConstants.EVICTED = "evicted"
{noformat}
And add a remark to the section "Changes that may affect end users" in [the
release notes|http://camel.apache.org/camel-2130-release.html]
> Hazelcast Map Support Uses Wrong Verb "Envict"
> ----------------------------------------------
>
> Key: CAMEL-6843
> URL: https://issues.apache.org/jira/browse/CAMEL-6843
> Project: Camel
> Issue Type: Bug
> Components: camel-hazelcast
> Reporter: James Carman
> Assignee: James Carman
>
> The event type is "evicted" not "envicted." Our code has a constant called
> HazelcastConstants.ENVICTED which has the value "envicted." We need to fix
> this, but it will cause a compatibility break. We could introduce the
> correct values and support both, with the incorrect ones being deprecated.
> Would that work?
--
This message was sent by Atlassian JIRA
(v6.1#6144)