llowinge commented on code in PR #6639:
URL: https://github.com/apache/camel-quarkus/pull/6639#discussion_r1800649964
##########
integration-test-groups/azure/azure-eventhubs/src/test/java/org/apache/camel/quarkus/component/azure/eventhubs/it/AzureEventhubsTest.java:
##########
@@ -72,9 +74,10 @@ void produceConsumeEvents() {
.body(
"body", is(messageBody),
"headers.CamelAzureEventHubsEnqueuedTime",
notNullValue(),
- "headers.CamelAzureEventHubsOffset",
greaterThanOrEqualTo(0),
Review Comment:
The problem is, that camel can return through Azure Long or Integer class.
With real instance, it returns Long and the test fails. Unfortunately your
suggestions don't work, because it fails with typing Integer to Long class
(which is not possible). I had to do it this way, to support both Integer and
Long classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]