THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
/**
* A test class the ensure we can convert Partner 2 CSV input files to the
* canonical XML output format, using JAXB POJOs.
*/
@ContextConfiguration(locations = "/CSVInputTest-context.xml")
public class CSVInputTest extends AbstractJUnit38SpringContextTests {
@Autowired
protected CamelContext camelContext;
protected ProducerTemplate<Exchange> template;
protected void setUp() throws Exception {
super.setUp();
template = camelContext.createProducerTemplate();
}
public void testCSVConversion() {
// TODO
}
}
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
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-2.5.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring-1.4.0.xsd">
<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring">
<!-- TODO -->
</camelContext>
</beans>
| ||||||
Code Block | ||||||
xml | xml | title | CSVInputTest-context.xml
Step 6: Initial Work on Customer 3 Input (Excel over e-mail)
...