Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15064

Messages no more received from Google Pubsub

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.4.0
    • Component/s: camel-google-pubsub
    • Labels:
      None
    • Environment:
      • macOS 10.15.4
      • OpenJDK 11.0.6 2020-01-14
      • I've been able to reproduce the issue on Ubuntu 16, same JDK
    • Estimated Complexity:
      Unknown
    • Regression:
      Regression

      Description

      With Camel 3.2.0, my route does not receive the messages from Google Pubsub. The exact same route works well if I downgrade to 3.1.0.

      I've created following test case to reproduce easily the issue:

      @Component
      public class SimplePubsubRouteBuilder extends RouteBuilder {
        @Override
        public void configure() throws Exception {
          from("google-pubsub://project-id:subs-name")
            .to("log:myLog?showHeaders=true");
        }
      }

      Result with Camel 3.2.0: nothing happens, no errors even with DEBUG log
      level.

      Result with Camel 3.1.0: error 404 as expected since Pubsub subscription
      path is invalid.

      I've tried to fix the issue myself with no success. But by tracing with debugger, I think the issue is because of bad version of Guava library.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                omarsmak Omar Al-Safi
                Reporter:
                jpmat Jean-Pierre Matsumoto
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: