我在使用Apache Camel解析XML时遇到问题。我添加了所有必要的注释,接下来我对多个根元素有一些问题,然后使用List创建了新类。现在,我告诉我的代码如下: 客户 @XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public @Data class Customer {
private int id;
private S
我想从驼峰路线的单元测试类中的mockEndPoint获取交换,但它不起作用。 这里是我的单元测试类: @RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:camel-unit-test.xml")
public class ImportDatabaseRouteTest extends CamelT