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

Add URI option for closing a session after each message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0, 2.2.0
    • 2.3.0
    • camel-mina
    • None

    Description

      To close a Mina session today you can set the HEADER_CLOSE_SESSION_WHEN_COMPLETE header to true in when specifying the route. How ever in cases where you'd like the route to be as decoupled from a specific camel component as possible this is not the best option. It would be better to support setting this as an option on the endpoint URI, e.g. mina:tcp://localhost:6200?autoCloseSession=true.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            johanhaleby Johan Haleby
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: