use of samples.services.xsd.Order in project camel by apache.
the class MarshalTest method createBuyStocksDocument.
private BuyStocksDocument createBuyStocksDocument() {
BuyStocksDocument document = BuyStocksDocument.Factory.newInstance();
BuyStocks payload = document.addNewBuyStocks();
Order order = payload.addNewOrder();
order.setSymbol("IBM");
order.setBuyerID("cmueller");
order.setPrice(140.34);
order.setVolume(2000);
return document;
}
use of samples.services.xsd.Order in project camel by apache.
the class XmlBeansDslTest method createBuyStocksDocument.
private BuyStocksDocument createBuyStocksDocument() {
BuyStocksDocument document = BuyStocksDocument.Factory.newInstance();
BuyStocks payload = document.addNewBuyStocks();
Order order = payload.addNewOrder();
order.setSymbol("IBM");
order.setBuyerID("cmueller");
order.setPrice(140.34);
order.setVolume(2000);
return document;
}
Aggregations