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

mina2 endpoint and netty endpoint does not support reconnect in clientMode=true

XMLWordPrintable

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

      Deploy route with endpoint like:

      mina2:tcp://localhost:8905?codec=#hl7Codec&sync=true&clientMode=true&reconnect=true&reconnectInterval=100
      

      or

      netty:tcp://localhost:9004?clientMode=true&reconnect=true&reconnectInterval=100&sync=true
      

      It fails with message like:

      Failed to resolve endpoint:...
      ...due to: There are 2 parameters that couldn't be set on the endpoint...
      ...Unknown parameters=[{reconnect=true, reconnectInterval=100}]
      
      Show
      Deploy route with endpoint like: mina2:tcp: //localhost:8905?codec=#hl7Codec&sync= true &clientMode= true &reconnect= true &reconnectInterval=100 or netty:tcp: //localhost:9004?clientMode= true &reconnect= true &reconnectInterval=100&sync= true It fails with message like: Failed to resolve endpoint:... ...due to: There are 2 parameters that couldn't be set on the endpoint... ...Unknown parameters=[{reconnect= true , reconnectInterval=100}]
    • 6.3 Sprint 1 (4-Jan->29-Jan)

      I have tested reconnection of clientMode=true with those options:
      reconnect=true
      reconnectInterval=100

      for endpoints: netty4, netty, mina2

      Those endpoints are implementing clientMode=true , so I think they should support reconnection. But reconnection is supported only by netty4 component.

            cibsen@redhat.com Claus Ibsen
            mswiech_jira Martin Swiech (Inactive)
            Jan Kasztura Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: