[
https://issues.apache.org/jira/browse/CAMEL-4566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183183#comment-13183183
]
Babak Vahdat commented on CAMEL-4566:
-------------------------------------
Thanks for providing the link, but as you see even there the Key is also of the
type String. IMHO KratiProducer.getKey() & KratiProducer.getValue() signature
should both return either the reifable type:
{code}
java.lang.Serializable
{code}
or the generic type
{code}
<? extends java.lang.Serializable>
{code}
I don't have any usage of this component but my only concern is CAMEL-4796
where I'm currently working on the step:
- Avoidance of the raw type declarations by the generified classes as much as
possible
And looking at Krati component we've got pretty much of raw type references to
the generified types where the compiler warns about it, just some examples are:
{code}
- krati.store.DataStore
- krati.util.HashFunction
- krati.sos.SerializableObjectStore
- org.apache.camel.component.krati.serializer.KratiDefaultSerializer
- java.util.Iterator
{code}
> Create a camel component for Krati
> ----------------------------------
>
> Key: CAMEL-4566
> URL: https://issues.apache.org/jira/browse/CAMEL-4566
> Project: Camel
> Issue Type: New Feature
> Components: camel-krati
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 2.9.0
>
> Attachments: CAMEL-4566-patch.txt, CAMEL-4566-update-patch.txt
>
>
> Krati is a simple persistent data store with very low latency and high
> throughput.
> We could have a producer/consumer for krati key-value stores, an idepotent
> consumer and as a persistence provider for other components (e.g. Hazelcast).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira