Created
January 8, 2016 10:31
-
-
Save lburgazzoli/b33b511d1713526b486f to your computer and use it in GitHub Desktop.
camel-braintree.blueprint.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0" | |
xsi:schemaLocation=" | |
http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd | |
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd | |
http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd"> | |
<cm:property-placeholder id="placeholder" persistent-id="org.jboss.quickstarts.fuse.camel.braintree"> | |
</cm:property-placeholder> | |
<bean id="braintree" class="org.apache.camel.component.braintree.BraintreeComponent"> | |
<property name="configuration"> | |
<bean class="org.apache.camel.component.braintree.BraintreeConfiguration"> | |
<property name="environment" value="${environment}"/> | |
<property name="merchantId" value="${merchantId}"/> | |
<property name="publicKey" value="${publicKey}"/> | |
<property name="privateKey" value="${privateKey}"/> | |
</bean> | |
</property> | |
</bean> | |
<camelContext trace="true" xmlns="http://camel.apache.org/schema/blueprint" id="braintree-example-context"> | |
<route id="braintree-route"> | |
<from uri="timer:simple?period=5000"/> | |
<to uri="braintree://clientToken/generate"/> | |
<to uri="stream:out"/> | |
</route> | |
</camelContext> | |
</blueprint> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment