You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Aaron Mulder (JIRA)" <ji...@apache.org> on 2010/11/11 23:11:24 UTC

[jira] Created: (CAMEL-3332) CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext

CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext
----------------------------------------------------------------------------------------------------

                 Key: CAMEL-3332
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3332
             Project: Apache Camel
          Issue Type: Improvement
          Components: tests
    Affects Versions: 2.5.0
            Reporter: Aaron Mulder
            Priority: Minor


For instance, it would be nice if createApplicationContext() could return a http://static.springsource.org/osgi/docs/1.2.1/api/org/springframework/osgi/context/support/OsgiBundleXmlApplicationContext.html

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


[jira] Resolved: (CAMEL-3332) CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext

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

Claus Ibsen resolved CAMEL-3332.
--------------------------------

    Resolution: Fixed

trunk: 1034309.

The winner is the {{AbstractApplicationContext}} class

> CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3332
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3332
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 2.5.0
>            Reporter: Aaron Mulder
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> For instance, it would be nice if createApplicationContext() could return a http://static.springsource.org/osgi/docs/1.2.1/api/org/springframework/osgi/context/support/OsgiBundleXmlApplicationContext.html

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


[jira] Reopened: (CAMEL-3332) CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext

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

Claus Ibsen reopened CAMEL-3332:
--------------------------------


> CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3332
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3332
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 2.5.0
>            Reporter: Aaron Mulder
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> For instance, it would be nice if createApplicationContext() could return a http://static.springsource.org/osgi/docs/1.2.1/api/org/springframework/osgi/context/support/OsgiBundleXmlApplicationContext.html

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


[jira] Commented: (CAMEL-3332) CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63291#action_63291 ] 

Claus Ibsen commented on CAMEL-3332:
------------------------------------

Ah okay yeah that could be a good idea, I had the hunt that you wanted some osgi support in camel-test. Which is being provided in a new separate test kit.

> CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3332
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3332
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 2.5.0
>            Reporter: Aaron Mulder
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> For instance, it would be nice if createApplicationContext() could return a http://static.springsource.org/osgi/docs/1.2.1/api/org/springframework/osgi/context/support/OsgiBundleXmlApplicationContext.html

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


[jira] Commented: (CAMEL-3332) CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63286#action_63286 ] 

Willem Jiang commented on CAMEL-3332:
-------------------------------------

Let the createApplicationContext return the AbstractRefreshableConfigApplicationContext that is acceptable :) .

> CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3332
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3332
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 2.5.0
>            Reporter: Aaron Mulder
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> For instance, it would be nice if createApplicationContext() could return a http://static.springsource.org/osgi/docs/1.2.1/api/org/springframework/osgi/context/support/OsgiBundleXmlApplicationContext.html

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


[jira] Commented: (CAMEL-3332) CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext

Posted by "Aaron Mulder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63283#action_63283 ] 

Aaron Mulder commented on CAMEL-3332:
-------------------------------------

That's OK if you want yet another copy of all the test support classes...

But what if there's some other reason to want a different kind of Spring context?  Nothing in Camel appears to depend on it being an AbstractXMLApplicationContext.

> CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3332
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3332
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 2.5.0
>            Reporter: Aaron Mulder
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> For instance, it would be nice if createApplicationContext() could return a http://static.springsource.org/osgi/docs/1.2.1/api/org/springframework/osgi/context/support/OsgiBundleXmlApplicationContext.html

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


[jira] Resolved: (CAMEL-3332) CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext

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

Claus Ibsen resolved CAMEL-3332.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.6.0
         Assignee: Claus Ibsen

We will do a special camel-osgi-test component for unit testing with OSGi

> CamelSpringTestSupport should be able to use more generic context than AbstractXMLApplicationContext
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3332
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3332
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 2.5.0
>            Reporter: Aaron Mulder
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> For instance, it would be nice if createApplicationContext() could return a http://static.springsource.org/osgi/docs/1.2.1/api/org/springframework/osgi/context/support/OsgiBundleXmlApplicationContext.html

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