Package com.pre.bp.sales.asynch

Examples of com.pre.bp.sales.asynch.AllocationMessageContent


  }


  private void requestAllocation(Warehouse warehouse, Item item, double quantity) {
   
    AllocationMessageContent content = new AllocationMessageContent();
    content.setOperation(1);//request allocation
    content.setItemCode(item.getCode());
    content.setWarehouseName(warehouse.getName());
    content.setTransactionQuantity(quantity);
    content.setOrderType(1);//Customer order
    content.setOrderCode(order.getCode());
    //content.setOrderLineNumber()
    try {
      Connection connection =connectionFactory.createConnection();
      Session session = connection.createSession(true, 0);
      MessageProducer producer=session.createProducer(allocatorQueue);
View Full Code Here

TOP

Related Classes of com.pre.bp.sales.asynch.AllocationMessageContent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.