Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5414

[Camel] org.apache.camel.impl.DefaultInflightRepository holding onto DefaultExchange instances when using Restlet Producer synchronous=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Camel
    • None
    • % %
    • Hide

      Unit test attached

      Show
      Unit test attached
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

      invoking Camel restlet component (producer) synchronous=true within a recipientList EIP with noErrorHandler configured on route is causing DefaultExchange's to build up in org.apache.camel.impl.DefaultInflightRepository.

      It seems that the recipientList/Restlet producer creates a "new exchange" when invoking the restlet service. Normally the org.apache.camel.impl.DefaultUnitOfWork#done() would be invoked after the exchange is used and the would remove it from the org.apache.camel.impl.DefaultInflightRepository. However with noErrorHandler in place, the DefaultUnitOfWork#done() is not been called and that "new exchange" is left in the DefaultInflightRepository.

            acosenti Andrea Cosentino
            rhn-support-pfox Patrick Fox (Inactive)
            Tomas Turek Tomas Turek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: