[ 
https://issues.apache.org/jira/browse/CAMEL-19016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760286#comment-17760286
 ] 

Claus Ibsen commented on CAMEL-19016:
-------------------------------------

so camel-google-pubsub is more complex as today it has 2 modes - sync and async 
and each have their own code.

the async with MessageReceiver is what a JMS component would do.

the sync with blocking waiting for reply is more like for ad-hoc calls, and 
then to make it like a consumer, then there is code that creates thread pool 
that runs this in a loop to keep calling for more messages.

Maybe this component only have 1 mode in start, and async was added later?



> Camel-Google-Pubsub: Add Health Check for consumer
> --------------------------------------------------
>
>                 Key: CAMEL-19016
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19016
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-google-pubsub
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.x
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to