You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by shmahajan <sh...@persistent.co.in> on 2013/12/18 13:18:07 UTC

Problem using salesforce component in Fuse IDE

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&amp;notifyForOperations=ALL&amp;sObjectName=Merchandise__c&amp;updateTopic=true&amp;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.

Re: Problem using salesforce component in Fuse IDE

Posted by Claus Ibsen <cl...@gmail.com>.
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
<sh...@persistent.co.in> 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&amp;notifyForOperations=ALL&amp;sObjectName=Merchandise__c&amp;updateTopic=true&amp;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: cibsen@redhat.com
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