You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2007/11/26 10:41:26 UTC

[jira] Created: (CAMEL-246) allow the username and password to be specified on the JMSComponent / JMSConfiguration

allow the username and password to be specified on the JMSComponent / JMSConfiguration
--------------------------------------------------------------------------------------

                 Key: CAMEL-246
                 URL: https://issues.apache.org/activemq/browse/CAMEL-246
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-jms
            Reporter: James Strachan


if a ConnectionFactory doesnt' support the configuration of the username/password (such as for MQSeries) then we might wanna wrap it in a UserCredentialsConnectionFactoryAdapter instead.

For background see...

http://www.nabble.com/JMSComponent-connecting-to-WebSphereMQ-tf4861290s2354.html#a13946581


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-246) allow the username and password to be specified on the JMSComponent / JMSConfiguration

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40910 ] 

Christian Schneider commented on CAMEL-246:
-------------------------------------------

The Tibco EMS Connection factory has the same problem and I think the same adapter would help.

But what is this issue really about? Is only documentation necessary or do we have to change some camel code? If you give me a hint where to look I could provide a patch. But as far as I understand the code you can already set the ConnectionFactory to use when initiliaizing the JmsComponent.

> allow the username and password to be specified on the JMSComponent / JMSConfiguration
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-246
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-246
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: James Strachan
>
> if a ConnectionFactory doesnt' support the configuration of the username/password (such as for MQSeries) then we might wanna wrap it in a UserCredentialsConnectionFactoryAdapter instead.
> For background see...
> http://www.nabble.com/JMSComponent-connecting-to-WebSphereMQ-tf4861290s2354.html#a13946581

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-246) allow the username and password to be specified on the JMSComponent / JMSConfiguration

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40911 ] 

James Strachan commented on CAMEL-246:
--------------------------------------

So I was thinking that we'd add the username/password properties to the JmsComponent/JmsConfiguration and if they are specified, we wrap the ConnectionFactory in the UserCredentialsConnectionFactoryAdapter so the user doesn't need to worry about the internal spring details

> allow the username and password to be specified on the JMSComponent / JMSConfiguration
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-246
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-246
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: James Strachan
>
> if a ConnectionFactory doesnt' support the configuration of the username/password (such as for MQSeries) then we might wanna wrap it in a UserCredentialsConnectionFactoryAdapter instead.
> For background see...
> http://www.nabble.com/JMSComponent-connecting-to-WebSphereMQ-tf4861290s2354.html#a13946581

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-246) allow the username and password to be specified on the JMSComponent / JMSConfiguration

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40916 ] 

Christian Schneider commented on CAMEL-246:
-------------------------------------------

When looking at the current implementation of JMSComponent I would advise not to wrap the UserCredentialsConnectionFactoryAdapter. There are currently too many ways to insert the factory to cleanly add username and password. So I would suggest to leave the adapter out of the code and simply document how to use it in the wiki and the examples.

If that is ok for you I could add the necessary documentation.

> allow the username and password to be specified on the JMSComponent / JMSConfiguration
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-246
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-246
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: James Strachan
>
> if a ConnectionFactory doesnt' support the configuration of the username/password (such as for MQSeries) then we might wanna wrap it in a UserCredentialsConnectionFactoryAdapter instead.
> For background see...
> http://www.nabble.com/JMSComponent-connecting-to-WebSphereMQ-tf4861290s2354.html#a13946581

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-246) allow the username and password to be specified on the JMSComponent / JMSConfiguration

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-246.
--------------------------------

    Fix Version/s: 1.5.1
       Resolution: Fixed

also update the wiki page

> allow the username and password to be specified on the JMSComponent / JMSConfiguration
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-246
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-246
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.5.1, 2.0.0
>
>
> if a ConnectionFactory doesnt' support the configuration of the username/password (such as for MQSeries) then we might wanna wrap it in a UserCredentialsConnectionFactoryAdapter instead.
> For background see...
> http://www.nabble.com/JMSComponent-connecting-to-WebSphereMQ-tf4861290s2354.html#a13946581

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-246) allow the username and password to be specified on the JMSComponent / JMSConfiguration

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-246:
----------------------------------

    Assignee: Willem Jiang

> allow the username and password to be specified on the JMSComponent / JMSConfiguration
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-246
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-246
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> if a ConnectionFactory doesnt' support the configuration of the username/password (such as for MQSeries) then we might wanna wrap it in a UserCredentialsConnectionFactoryAdapter instead.
> For background see...
> http://www.nabble.com/JMSComponent-connecting-to-WebSphereMQ-tf4861290s2354.html#a13946581

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.