It would be nice to have a sample JBI & DATABASE interaction under
$SERVICEMIX_HOME/examples through camel and jpa or something else...

Regards
Matteo
 

James.Strachan wrote:
> 
> Great thanks for letting us know! :)
> 
> On 21/11/2007, Hamlet84 <[EMAIL PROTECTED]> wrote:
>>
>> i've resolve adding the camel-jpa.jar to Camel SU :D
>>
>>
>> Hamlet84 wrote:
>> >
>> > in the camel-su i have a test component as follow
>> >
>> > public class Prova extends RouteBuilder {
>> >     public void configure() throws Exception {
>> >        
>> this.from("jbi:service:http://icar.unibas.it/FreESBee/CamelProva";)
>> >             .convertBodyTo(PersonDocument.class)
>> >             .to("jpa:it.unibas.icar.freesbee.dao.CustomerEntity");
>> >     }
>> > }
>> >
>> > The PersonDocument and CustomerEntity class are the same of the
>> > camel-example-etl.
>> > Now, when i deploy this component, ServiceMix doesn't works.. I have
>> the
>> > follow error
>> >
>> > org.apache.camel.RuntimeCamelException:
>> > org.apache.camel.NoSuchEndpointException: No endpoint could be found
>> for:
>> > jpa:it.unibas.icar.freesbee.dao.CustomerEntity</loc-message>
>> >
>> <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
>> > org.apache.camel.RuntimeCamelException:
>> > org.apache.camel.NoSuchEndpointException: No endpoint could be found
>> for:
>> > jpa:it.unibas.icar.freesbee.dao.CustomerEntity
>> >
>> >
>> > there are some problem with jpa component of camel and servicemix??
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Using-JPA-in-ServiceMix-%2B-Camel-tf4811001s22882.html#a13879254
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-JPA-in-ServiceMix-%2B-Camel-tp13765083s22882p14577295.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to