You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jim Newsham (JIRA)" <ji...@apache.org> on 2011/02/24 06:04:38 UTC

[jira] Created: (CAMEL-3714) camel-jms: testConnectionOnStartup does not test connection for producers

camel-jms: testConnectionOnStartup does not test connection for producers
-------------------------------------------------------------------------

                 Key: CAMEL-3714
                 URL: https://issues.apache.org/jira/browse/CAMEL-3714
             Project: Camel
          Issue Type: Bug
          Components: camel-jms
    Affects Versions: 2.5.0
            Reporter: Jim Newsham
            Priority: Minor


I have a camel context which configures jms producers, but no jms consumers.  With this configuration, the "testConnectionOnStartup" jms option did not test the connection when I started the camel context.  I have discovered that (with the current implementation) the "testConnectionOnStartup" option only applies to consumers.  I see that it is implemented in JmsConsumer.doStart() -> JmsConsumer.testConnectionOnStartup().  It would be useful if this option could also applied to producers.

As a workaround, I configured a dummy route and a dummy jms consumer.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CAMEL-3714) camel-jms: testConnectionOnStartup does not test connection for producers

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

Claus Ibsen updated CAMEL-3714:
-------------------------------

    Fix Version/s:     (was: 2.7.0)

> camel-jms: testConnectionOnStartup does not test connection for producers
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-3714
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3714
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.5.0
>            Reporter: Jim Newsham
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> I have a camel context which configures jms producers, but no jms consumers.  With this configuration, the "testConnectionOnStartup" jms option did not test the connection when I started the camel context.  I have discovered that (with the current implementation) the "testConnectionOnStartup" option only applies to consumers.  I see that it is implemented in JmsConsumer.doStart() -> JmsConsumer.testConnectionOnStartup().  It would be useful if this option could also applied to producers.
> As a workaround, I configured a dummy route and a dummy jms consumer.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-3714) camel-jms: testConnectionOnStartup does not test connection for producers

Posted by "Heath Kesler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016507#comment-13016507 ] 

Heath Kesler commented on CAMEL-3714:
-------------------------------------

I will take a look at this one. 

> camel-jms: testConnectionOnStartup does not test connection for producers
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-3714
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3714
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.5.0
>            Reporter: Jim Newsham
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> I have a camel context which configures jms producers, but no jms consumers.  With this configuration, the "testConnectionOnStartup" jms option did not test the connection when I started the camel context.  I have discovered that (with the current implementation) the "testConnectionOnStartup" option only applies to consumers.  I see that it is implemented in JmsConsumer.doStart() -> JmsConsumer.testConnectionOnStartup().  It would be useful if this option could also applied to producers.
> As a workaround, I configured a dummy route and a dummy jms consumer.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (CAMEL-3714) camel-jms: testConnectionOnStartup does not test connection for producers

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

Claus Ibsen updated CAMEL-3714:
-------------------------------

    Fix Version/s: 2.8.0
                   2.7.0
       Issue Type: Improvement  (was: Bug)

> camel-jms: testConnectionOnStartup does not test connection for producers
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-3714
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3714
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.5.0
>            Reporter: Jim Newsham
>            Priority: Minor
>             Fix For: 2.7.0, 2.8.0
>
>
> I have a camel context which configures jms producers, but no jms consumers.  With this configuration, the "testConnectionOnStartup" jms option did not test the connection when I started the camel context.  I have discovered that (with the current implementation) the "testConnectionOnStartup" option only applies to consumers.  I see that it is implemented in JmsConsumer.doStart() -> JmsConsumer.testConnectionOnStartup().  It would be useful if this option could also applied to producers.
> As a workaround, I configured a dummy route and a dummy jms consumer.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-3714) camel-jms: testConnectionOnStartup does not test connection for producers

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

Heath Kesler updated CAMEL-3714:
--------------------------------

    Attachment: patch-3714.diff

I setup a testConnectionOnStartup for the producer based on the same option.  So if it gets set on the URI will will check it on the produce if one is instantiated. 

Let me know if there is a better way to do this.

> camel-jms: testConnectionOnStartup does not test connection for producers
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-3714
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3714
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.5.0
>            Reporter: Jim Newsham
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: patch-3714.diff
>
>
> I have a camel context which configures jms producers, but no jms consumers.  With this configuration, the "testConnectionOnStartup" jms option did not test the connection when I started the camel context.  I have discovered that (with the current implementation) the "testConnectionOnStartup" option only applies to consumers.  I see that it is implemented in JmsConsumer.doStart() -> JmsConsumer.testConnectionOnStartup().  It would be useful if this option could also applied to producers.
> As a workaround, I configured a dummy route and a dummy jms consumer.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-3714) camel-jms: testConnectionOnStartup does not test connection for producers

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

Willem Jiang resolved CAMEL-3714.
---------------------------------

    Resolution: Fixed

Applied patch into trunk with thanks to Heath.

> camel-jms: testConnectionOnStartup does not test connection for producers
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-3714
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3714
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.5.0
>            Reporter: Jim Newsham
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: patch-3714.diff
>
>
> I have a camel context which configures jms producers, but no jms consumers.  With this configuration, the "testConnectionOnStartup" jms option did not test the connection when I started the camel context.  I have discovered that (with the current implementation) the "testConnectionOnStartup" option only applies to consumers.  I see that it is implemented in JmsConsumer.doStart() -> JmsConsumer.testConnectionOnStartup().  It would be useful if this option could also applied to producers.
> As a workaround, I configured a dummy route and a dummy jms consumer.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira