camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From objectorange <br...@briantaylor.us>
Subject Re: Camel CXF: In-VM
Date Wed, 08 Aug 2012 19:47:14 GMT
I get this error:

java.lang.IllegalStateException: Local destination does not have a
MessageObserver on address
local://company.com/infrastructure/services/hash/HashService

Here is my beans.xml content:

<cxf:cxfEndpoint xmlns:hsi="http://company.com/infrastructure/services/hash"
                     id="HashServiceEndpoint"
                     wsdlURL="HashService.wsdl"
                    
address="local://company.com/infrastructure/services/hash/HashService"
                     serviceName="hsi:HashService"
                     endpointName="hsi:HashServicePort"
                    
serviceClass="com.company.infrastructure.services.hash.HashServiceImpl">
        <cxf:properties>
            <entry key="dataFormat" value="PAYLOAD"/>
        </cxf:properties>
    </cxf:cxfEndpoint>

    <camel:camelContext id="HashService">

        <camel:route id="HashService-Route" trace="false">
            <camel:from uri="vm:HashService" />

            <camel:throttle timePeriodMillis="1000"
                            id="HashService-Throttle">
                <camel:constant>100</camel:constant>
                <camel:threads threadName="HashService-Thread"
                               keepAliveTime="300"
                               poolSize="20"
                               maxPoolSize="40"
                               maxQueueSize="40"
                               rejectedPolicy="CallerRuns"
                               id="HashService-ThreadPool">

                    <camel:to uri="cxf:bean:HashServiceEndpoint"
id="HashServiceEndpoint-To"/>

                </camel:threads>
            </camel:throttle>
        </camel:route>

    </camel:camelContext>






--
View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-In-VM-tp5716772p5717011.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message