When sending the CamundaBpmCorrelationKey, it is automatically extracted as a String from the properties. This should be the default value. We added a new constant "CamundaBpmCorrelationKeyType" where e.g. the value "java.lang.Long" can be passed. This saves us from parsing the String over and over in out code, since we know it is a Long.
It was a minor fix in the org.camunda.bpm.camel.component.producer.MessageProducer class.
Tests were added and a new constant in org.camunda.bpm.camel.component.CamundaBpmConstants (CAMUNDA_BPM_CORRELATION_KEY_TYPE)
thank you for providing this pull request. The maintainer of this community extension @berndruecker is currently on holiday and will look into it when he is back.
When sending the CamundaBpmCorrelationKey, it is automatically extracted as a String from the properties. This should be the default value. We added a new constant "CamundaBpmCorrelationKeyType" where e.g. the value "java.lang.Long" can be passed. This saves us from parsing the String over and over in out code, since we know it is a Long.
It was a minor fix in the org.camunda.bpm.camel.component.producer.MessageProducer class. Tests were added and a new constant in org.camunda.bpm.camel.component.CamundaBpmConstants (CAMUNDA_BPM_CORRELATION_KEY_TYPE)