Examples of ArchiveData


Examples of org.wso2.carbon.bam.services.stub.bamarchiverds.types.ArchiveData

            messages = new MessageDataDO[datas.length];

            for (int counter = 0; counter < datas.length; counter++) {
                MessageDataDO message = new MessageDataDO();
                ArchiveData data = datas[counter];

                message.setActivityKeyId(Integer.parseInt(data.getActivityId()));
                message.setIpAddress(data.getIpAddress());
                message.setMessageBody(data.getMessage());
                message.setMessageDataKeyId(Integer.parseInt(data.getMessageId()));
                message.setMessageKeyId(Integer.parseInt(data.getMessageId()));
                message.setMessageDirection(data.getDirection());
                message.setTimestamp(data.getTimestamp());
                if (data.getDirection().equals("Request")) {
                    message.setRequestMessageStatus(data.getStatus());
                } else {
                    message.setResponseMessageStatus(data.getStatus());
                }
                messages[counter] = message;
            }

        } catch (Exception e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.