Claudio Corsi created CAMEL-5580:
------------------------------------

             Summary: The RowModel Data does not include the correct cell value 
type and some minor changes.
                 Key: CAMEL-5580
                 URL: https://issues.apache.org/jira/browse/CAMEL-5580
             Project: Camel
          Issue Type: Bug
          Components: camel-hbase
    Affects Versions: 2.10.1
            Reporter: Claudio Corsi
            Priority: Minor
             Fix For: 2.11.0, 2.10.2
         Attachments: hbase-patch-2.diffs

The hbase component create a row model from the passed endpoint configuration 
using the family/qualifier/etc information from the uri.  

This process currently does not extra the value type for value type n greater 
than 1.  It currently uses the value type from the one defined for value 1.  
This is currently not a problem since this information is not being used within 
the hbase component but if we intend to use it the future this fix insures that 
it will extract the correct information for the row model.

The extracted CellMappingStrategy within the HBaseConsumer is always going to 
return the same instance throughout the for loop.  This has been moved outside 
of the for loop so that it is extract only once instead of multiple times.

Added a check to the setValueType method of the HBaseCell class to sure that 
the passed value is non-null else raise an exception.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to