below is camel context-
<bean id="box" class="org.apache.camel.component.box.BoxComponent">
                <property name="configuration">
                        <bean 
class="org.apache.camel.component.box.BoxConfiguration">
                                <property name="userName" value="{{userName}}" 
/>
                                <property name="userPassword" 
value="{{userPassword}}" />
                                <property name="clientId" value="{{clientId}}" 
/>
                                <property name="clientSecret" 
value="{{clientSecret}}" />
                        </bean>
                </property>
        </bean>
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
<route id="box-sample-service-entry-route">
            <from uri="file:work/box/input" />
            <log message="Receiving file ${file:name}" />
            <log message="Sending file ${file:name} to Box.com" />
            
            <to uri="box://files/uploadFile?inBody=fileUploadRequest" />
            <log message="Done uploading ${file:name}" />
        </route>
</camelContext>



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Box-component-throwing-RuntimeException-tp5792166p5792210.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to