You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Johan Haleby (JIRA)" <ji...@apache.org> on 2010/02/09 10:47:32 UTC
[jira] Created: (CAMEL-2455) Add URI option for closing a session
after each message
Add URI option for closing a session after each message
-------------------------------------------------------
Key: CAMEL-2455
URL: https://issues.apache.org/activemq/browse/CAMEL-2455
Project: Apache Camel
Issue Type: Improvement
Components: camel-mina
Affects Versions: 2.1.0, 2.2.0
Reporter: Johan Haleby
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-2455) Add URI option for closing a session
after each message
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2455.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
trunk: 907996.
There is a {{disconnect}} option now. Its the same option name as we have on the FTP component as well. Trying to keep same names across components.
> Add URI option for closing a session after each message
> -------------------------------------------------------
>
> Key: CAMEL-2455
> URL: https://issues.apache.org/activemq/browse/CAMEL-2455
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-mina
> Affects Versions: 2.1.0, 2.2.0
> Reporter: Johan Haleby
> Assignee: Claus Ibsen
> Fix For: 2.3.0
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-2455) Add URI option for closing a session
after each message
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-2455:
----------------------------------
Assignee: Claus Ibsen
> Add URI option for closing a session after each message
> -------------------------------------------------------
>
> Key: CAMEL-2455
> URL: https://issues.apache.org/activemq/browse/CAMEL-2455
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-mina
> Affects Versions: 2.1.0, 2.2.0
> Reporter: Johan Haleby
> Assignee: Claus Ibsen
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.