You need to have camel-salesforce on the classpath. If you use Maven, then add it to the pom.xml as dependency.
On Wed, Dec 18, 2013 at 1:18 PM, shmahajan <[email protected]> wrote: > Hi, > > I am creating XML based camel route in Fuse IDE. But i am getting error: > "Cannot auto create component: salesforce". > > Can you please let me know what additional configuration i have to do here. > > Below is the camelcontext.xml: > <beans xmlns="http://www.springframework.org/schema/beans" > 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://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd"> > > <camelContext trace="false" xmlns="http://camel.apache.org/schema/spring"> > <route> > <from > uri="salesforce:CamelTestTopic?notifyForFields=ALL&notifyForOperations=ALL&sObjectName=Merchandise__c&updateTopic=true&sObjectQuery=SELECT > Id, Name FROM Merchandise__c" id="salesforcetesttopic"> > <description/> > </from> > <to uri="stream:out"/> > </route> > </camelContext> > > </beans> > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Problem-using-salesforce-component-in-Fuse-IDE-tp5744990.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
