[ 
https://issues.apache.org/jira/browse/CXF-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider resolved CXF-1774.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2)
                   2.1.3

> JMS Transport: Remove JNDI lookups for ConnectionFactory, targetDestination 
> and replyDestination
> ------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1774
>                 URL: https://issues.apache.org/jira/browse/CXF-1774
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1.2
>            Reporter: Christian Schneider
>             Fix For: 2.1.3
>
>
> Currently you have to configure all jms settings via JNDI. targetDestination 
> is the only config property that already can additionally be configured as a 
> string.
> I think the JNDI stuff does not belong into the JMS transport. 
> ConnectionFactory should simply be configured as a refrence to a bean of type 
> jms ConnectionFactory. So the user of cxf is free to either setup the 
> ConnectionFactory locally or look it up via SpringĀ“s great JNDI support.
> The same is true for targetDestination and replyDestination. They should 
> simply be injected. The JNDI logic should be deleted from JMS transport. 
> Additionally it should be possible for targetDestination and replyDestination 
> to set them as simple strings as this is the most common way they will be 
> used by people. 
> Fixing this will make the JMS Transport code simpler and at the same time the 
> CXF users will get greater flexibility in the configuration.

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

Reply via email to