2 Replies Latest reply on Dec 26, 2012 6:54 AM by nehal_sadek

    message isn't consumed by camel route

    nehal_sadek

      Hi All,

       

      I developed a sample POC for the Topic and durable Topic on fuse and I faced an issue.

       

      Sample code description

       

      My sample code consists of 3 bundles, and each bundle has its own camel context, and its own route, so I have 3 routes in 3 bundles as the following:

       

      bundle1 route : consume file from file system and send it to a queue

       

       

       

      bundle2 route: consume message from the previous queue and send it to a topic

       

       

       

      bundle3 route: consume message from the previous topic and send it to the file system

       

       

       

       

      When I put a file in the first folder "D://camel_test" , the sample code runs successfully in 95% of the cases and the file is disappeared from "D://camel_test" folder and moved to the second folder "D://camel_test2"

       

      Issue Description

       

      ? Sometime, 5% of the cases, the file isn?t consumed by the second route, and when checking the consumers and queues on jconsole, I find

         

      o a registered consumer for the queue "service.queue" as shown in the attached jconsole screen shot (2.png).

         o The queue?s Enqueue count is increased while the queue?s Dequeue count is zero as shown in the attached jconsole screen shot (1.png).

       

      ? The issue appears in many cases but the most reproducible case after restarting Fuse ESB.

       

      ? the issue doesn?t appear In every fuse ESB restart, many times the sample code runs successfully without problems after fuse ESB restart.

       

      Important Note: Always the issue disappears after refreshing bundle2 and bundle3.

       

      could you please advise?

        • 1. Re: message isn't consumed by camel route
          davsclaus

          What version of Fuse ESB do you use?

          • 2. Re: message isn't consumed by camel route
            nehal_sadek

            ?     Operating system: Windows 7 professional

            ?     Fuse ESB: FuseESBEnterprise-7.0.1

            ?     Used bundles:

                      - camel-core (2.9.0.fuse-70-084)

                      - camel-karaf-commands (2.9.0.fuse-70-084)

                      - camel-spring (2.9.0.fuse-70-084)

                      - camel-jms (2.9.0.fuse-70-084)

                      - activemq-camel (5.5.1.fuse-70-084)

             

            Edited by: nehal_sadek on Dec 26, 2012 11:51 AM

             

            Edited by: nehal_sadek on Dec 26, 2012 11:53 AM