[
https://issues.apache.org/jira/browse/CAMEL-16035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267962#comment-17267962
]
Zineb BENDHIBA edited comment on CAMEL-16035 at 1/19/21, 3:24 PM:
------------------------------------------------------------------
If the polling timeout is exceeded with nothing to poll from the queue, the
queue.poll() method return NULL. the consumer shouldn't send this NULL
was (Author: zbendhiba):
if time exceeded the polling timeout, if there's nothing to poll for the
queue, the queue.poll() method return NULL. the consumer shouldn't send this
NULL
> HazelcastQueueConsumer : when using mode POLL, the consumer sends NULL
> ----------------------------------------------------------------------
>
> Key: CAMEL-16035
> URL: https://issues.apache.org/jira/browse/CAMEL-16035
> Project: Camel
> Issue Type: Bug
> Reporter: Zineb BENDHIBA
> Assignee: Zineb BENDHIBA
> Priority: Minor
> Fix For: 3.8.0, 3.7.2
>
>
> While running some integration test on HazelcastQueueConsumer, using mode
> POLL. Sometimes the consumer sends and additional NULL as first element.
> This does not happen at every time I run the tests. It seems that if it polls
> before having any element, it can gets a NULL, and it send it anyway.
> I'll try to find a way, to reproduce easily
--
This message was sent by Atlassian Jira
(v8.3.4#803005)