Hi

Ah I have spotted the issue. Its to be fixed on trunk.


On Thu, May 12, 2011 at 4:06 PM, anoordover <anoordo...@live.nl> wrote:
> This is the spring xml file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans";
>        xmlns:context="http://www.springframework.org/schema/context";
>        xmlns:camel="http://camel.apache.org/schema/spring";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>        xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
>    http://www.springframework.org/schema/context
> http://www.springframework.org/schema/context/spring-context-3.0.xsd
>    http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/camel-spring.xsd";>
>
>        <bean id="jbossResolver"
> class="org.apache.camel.jboss.JBossPackageScanClassResolver" />
>
>        <bean id="gba-invoker"
>
> class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
>                <property name="serviceUrl" value="${consumer.gba.url}" />
>                <property name="serviceInterface" 
> value="nl.hetcak.gba.GbaService" />
>        </bean>
>
>        <camel:camelContext id="camelContext" lazyLoadTypeConverters="true">
>                <camel:template id="camelTemplate" />
>
>                <camel:proxy id="gbaService-spring-remoting" 
> serviceUrl="direct:gbaIn"
>                        serviceInterface="nl.hetcak.gba.GbaService"
> camelContextId="camelContext"/>
>
>                <camel:route>
>                        <camel:from uri="direct:gbaIn" />
>                        <camel:to uri="bean:gba-invoker" />
>                </camel:route>
>
>        </camel:camelContext>
>
> </beans>
>
>
> I use the bean gbaService-spring-remoting to inject in my service class.
>
> As you can see in the first logging JBoss doesn't add een exclamation mark
> in the classpath. When I change the class DefaultPackageScanClassResolver:
>
>                // Else it's in a JAR, grab the path to the jar
>                if (urlPath.indexOf('!') > 0) {
>                    urlPath = urlPath.substring(0, urlPath.indexOf('!'));
>                } else if (urlPath.indexOf(".jar") > 0) {
>                    urlPath = urlPath.substring(0, urlPath.indexOf(".jar") +
> 4);
>                }
>
> loading of the converters doesn't fail anymore.
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/TypeConverter-loading-failes-in-JBoss-5-1-0-GA-tp4389726p4390361.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
CamelOne 2011: http://fusesource.com/camelone2011/
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to