GitHub user akhettar opened a pull request:

    https://github.com/apache/camel/pull/2372

    CAMEL-12573: Fixing class cast exception

    I have introduced a generic method which extracts the values of the 
`Partition` and the `Offset` from the Exchange headers according to their 
corresponding types.
    
    Here is the Jira ticket for 
it.https://issues.apache.org/jira/browse/CAMEL-12573

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/akhettar/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2372.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2372
    
----
commit aa9464cdd8a30ff9a88bf893999158ec7c8ae40e
Author: akhettar <ayache@...>
Date:   2018-06-12T15:31:12Z

    Fixing class cast exception. Handling kafka.Partition as Integer and 
kafka.Offset as a Long.

----


---

Reply via email to