You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Volodymyr Zhabiuk (JIRA)" <ji...@apache.org> on 2009/02/25 11:13:59 UTC

[jira] Created: (SMX4-230) Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project

Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project
--------------------------------------------------------------------------

                 Key: SMX4-230
                 URL: https://issues.apache.org/activemq/browse/SMX4-230
             Project: ServiceMix 4
          Issue Type: Bug
            Reporter: Volodymyr Zhabiuk


in the org.apache.servicemix.cxf.transport.nmr.NMRDestination class
public NMRDestination(EndpointInfo info, NMR nmr) {
        super(getTargetReference(info, null), info);
        this.nmr = nmr;
        this.properties = new HashMap<String, Object>();
        this.properties.put(Endpoint.NAME, info.getName().toString());
        this.properties.put(Endpoint.SERVICE_NAME, info.getService().getName());
        this.properties.put(Endpoint.INTERFACE_NAME, info.getInterface().getName());
    }
public void activate()  {
        nmr.getEndpointRegistry().register(this, properties);
    }

info.getService().getName() and info.getInterface().getName() return QName instances

In the DeliveryChannelImpl(line 161)

There is an entry 
Map<String, ?> props = context.getNmr().getEndpointRegistry().getProperties(ep);
String strSvcName = (String) props.get(Endpoint.SERVICE_NAME);

eventually I get
java.lang.ClassCastException: javax.xml.namespace.QName
 at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.getMessageExchange(DeliveryChannelImpl.java:161)
 at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.accept(DeliveryChannelImpl.java:128)



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


[jira] Work started: (SMX4-230) Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project

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

Work on SMX4-230 started by Freeman Fang.

> Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project
> --------------------------------------------------------------------------
>
>                 Key: SMX4-230
>                 URL: https://issues.apache.org/activemq/browse/SMX4-230
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Volodymyr Zhabiuk
>            Assignee: Freeman Fang
>
> in the org.apache.servicemix.cxf.transport.nmr.NMRDestination class
> {code}
> public NMRDestination(EndpointInfo info, NMR nmr) {
>         super(getTargetReference(info, null), info);
>         this.nmr = nmr;
>         this.properties = new HashMap<String, Object>();
>         this.properties.put(Endpoint.NAME, info.getName().toString());
>         this.properties.put(Endpoint.SERVICE_NAME, info.getService().getName());
>         this.properties.put(Endpoint.INTERFACE_NAME, info.getInterface().getName());
>     }
> public void activate()  {
>         nmr.getEndpointRegistry().register(this, properties);
>     }
> {code}
> info.getService().getName() and info.getInterface().getName() return QName instances
> In the DeliveryChannelImpl(line 161)
> There is an entry 
> {code}
> Map<String, ?> props = context.getNmr().getEndpointRegistry().getProperties(ep);
> String strSvcName = (String) props.get(Endpoint.SERVICE_NAME);
> {code}
> eventually I get
> {code}
> java.lang.ClassCastException: javax.xml.namespace.QName
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.getMessageExchange(DeliveryChannelImpl.java:161)
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.accept(DeliveryChannelImpl.java:128)
> {code}

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


[jira] Assigned: (SMX4-230) Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project

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

Freeman Fang reassigned SMX4-230:
---------------------------------

    Assignee: Freeman Fang

> Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project
> --------------------------------------------------------------------------
>
>                 Key: SMX4-230
>                 URL: https://issues.apache.org/activemq/browse/SMX4-230
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Volodymyr Zhabiuk
>            Assignee: Freeman Fang
>
> in the org.apache.servicemix.cxf.transport.nmr.NMRDestination class
> {code}
> public NMRDestination(EndpointInfo info, NMR nmr) {
>         super(getTargetReference(info, null), info);
>         this.nmr = nmr;
>         this.properties = new HashMap<String, Object>();
>         this.properties.put(Endpoint.NAME, info.getName().toString());
>         this.properties.put(Endpoint.SERVICE_NAME, info.getService().getName());
>         this.properties.put(Endpoint.INTERFACE_NAME, info.getInterface().getName());
>     }
> public void activate()  {
>         nmr.getEndpointRegistry().register(this, properties);
>     }
> {code}
> info.getService().getName() and info.getInterface().getName() return QName instances
> In the DeliveryChannelImpl(line 161)
> There is an entry 
> {code}
> Map<String, ?> props = context.getNmr().getEndpointRegistry().getProperties(ep);
> String strSvcName = (String) props.get(Endpoint.SERVICE_NAME);
> {code}
> eventually I get
> {code}
> java.lang.ClassCastException: javax.xml.namespace.QName
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.getMessageExchange(DeliveryChannelImpl.java:161)
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.accept(DeliveryChannelImpl.java:128)
> {code}

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


[jira] Resolved: (SMX4-230) Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project

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

Freeman Fang resolved SMX4-230.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0-m2

commit fix
http://svn.apache.org/viewvc?rev=747736&view=rev

> Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project
> --------------------------------------------------------------------------
>
>                 Key: SMX4-230
>                 URL: https://issues.apache.org/activemq/browse/SMX4-230
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Volodymyr Zhabiuk
>            Assignee: Freeman Fang
>             Fix For: 4.0-m2
>
>
> in the org.apache.servicemix.cxf.transport.nmr.NMRDestination class
> {code}
> public NMRDestination(EndpointInfo info, NMR nmr) {
>         super(getTargetReference(info, null), info);
>         this.nmr = nmr;
>         this.properties = new HashMap<String, Object>();
>         this.properties.put(Endpoint.NAME, info.getName().toString());
>         this.properties.put(Endpoint.SERVICE_NAME, info.getService().getName());
>         this.properties.put(Endpoint.INTERFACE_NAME, info.getInterface().getName());
>     }
> public void activate()  {
>         nmr.getEndpointRegistry().register(this, properties);
>     }
> {code}
> info.getService().getName() and info.getInterface().getName() return QName instances
> In the DeliveryChannelImpl(line 161)
> There is an entry 
> {code}
> Map<String, ?> props = context.getNmr().getEndpointRegistry().getProperties(ep);
> String strSvcName = (String) props.get(Endpoint.SERVICE_NAME);
> {code}
> eventually I get
> {code}
> java.lang.ClassCastException: javax.xml.namespace.QName
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.getMessageExchange(DeliveryChannelImpl.java:161)
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.accept(DeliveryChannelImpl.java:128)
> {code}

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


[jira] Updated: (SMX4-230) Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project

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

Guillaume Nodet updated SMX4-230:
---------------------------------

    Description: 
in the org.apache.servicemix.cxf.transport.nmr.NMRDestination class
{code}
public NMRDestination(EndpointInfo info, NMR nmr) {
        super(getTargetReference(info, null), info);
        this.nmr = nmr;
        this.properties = new HashMap<String, Object>();
        this.properties.put(Endpoint.NAME, info.getName().toString());
        this.properties.put(Endpoint.SERVICE_NAME, info.getService().getName());
        this.properties.put(Endpoint.INTERFACE_NAME, info.getInterface().getName());
    }
public void activate()  {
        nmr.getEndpointRegistry().register(this, properties);
    }

{code}
info.getService().getName() and info.getInterface().getName() return QName instances

In the DeliveryChannelImpl(line 161)

There is an entry 
{code}
Map<String, ?> props = context.getNmr().getEndpointRegistry().getProperties(ep);
String strSvcName = (String) props.get(Endpoint.SERVICE_NAME);
{code}

eventually I get
{code}
java.lang.ClassCastException: javax.xml.namespace.QName
 at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.getMessageExchange(DeliveryChannelImpl.java:161)
 at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.accept(DeliveryChannelImpl.java:128)
{code}



  was:
in the org.apache.servicemix.cxf.transport.nmr.NMRDestination class
public NMRDestination(EndpointInfo info, NMR nmr) {
        super(getTargetReference(info, null), info);
        this.nmr = nmr;
        this.properties = new HashMap<String, Object>();
        this.properties.put(Endpoint.NAME, info.getName().toString());
        this.properties.put(Endpoint.SERVICE_NAME, info.getService().getName());
        this.properties.put(Endpoint.INTERFACE_NAME, info.getInterface().getName());
    }
public void activate()  {
        nmr.getEndpointRegistry().register(this, properties);
    }

info.getService().getName() and info.getInterface().getName() return QName instances

In the DeliveryChannelImpl(line 161)

There is an entry 
Map<String, ?> props = context.getNmr().getEndpointRegistry().getProperties(ep);
String strSvcName = (String) props.get(Endpoint.SERVICE_NAME);

eventually I get
java.lang.ClassCastException: javax.xml.namespace.QName
 at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.getMessageExchange(DeliveryChannelImpl.java:161)
 at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.accept(DeliveryChannelImpl.java:128)




> Compatibility issue in the org.apache.servicemix.cxf.transport.nmr project
> --------------------------------------------------------------------------
>
>                 Key: SMX4-230
>                 URL: https://issues.apache.org/activemq/browse/SMX4-230
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Volodymyr Zhabiuk
>
> in the org.apache.servicemix.cxf.transport.nmr.NMRDestination class
> {code}
> public NMRDestination(EndpointInfo info, NMR nmr) {
>         super(getTargetReference(info, null), info);
>         this.nmr = nmr;
>         this.properties = new HashMap<String, Object>();
>         this.properties.put(Endpoint.NAME, info.getName().toString());
>         this.properties.put(Endpoint.SERVICE_NAME, info.getService().getName());
>         this.properties.put(Endpoint.INTERFACE_NAME, info.getInterface().getName());
>     }
> public void activate()  {
>         nmr.getEndpointRegistry().register(this, properties);
>     }
> {code}
> info.getService().getName() and info.getInterface().getName() return QName instances
> In the DeliveryChannelImpl(line 161)
> There is an entry 
> {code}
> Map<String, ?> props = context.getNmr().getEndpointRegistry().getProperties(ep);
> String strSvcName = (String) props.get(Endpoint.SERVICE_NAME);
> {code}
> eventually I get
> {code}
> java.lang.ClassCastException: javax.xml.namespace.QName
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.getMessageExchange(DeliveryChannelImpl.java:161)
>  at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.accept(DeliveryChannelImpl.java:128)
> {code}

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