Examples of MessageId


Examples of org.jsmpp.util.MessageId

        }
       
        public MessageId processSubmitSm(SubmitSm submitSm)
                throws ProcessRequestException {
            try {
                MessageId messageId = fireAcceptSubmitSm(submitSm);
                if (messageId == null) {
                    String msg = "Invalid message_id, shouldn't null value. " + ServerMessageReceiverListener.class + "#onAcceptSubmitSm(SubmitSm) return null value";
                    logger.error(msg);
                    throw new ProcessRequestException(msg, SMPPConstant.STAT_ESME_RX_R_APPN);
                }
View Full Code Here

Examples of org.wso2.carbon.bam.stub.statquery.MessageId

                String messageType = "";
                String serviceName = "";
                String arcKey = "";
                String activityId = "";
                boolean parentRecord = false;
                MessageId message = null;
                for (int index = 0; index < messageIds.length; index++) {
                    // for a given messageId, there are multiple rows having
                    // different property keys & values.
                    // we are trying to accumulate all the keys/values belonging
                    // to a single message into a
                    // row model here. (for additional explanation on the
                    // problem
                    // see - http://markmail.org/thread/i24sllyzksw2cfho)
                    message = messageIds[index];
                    if (!messageId.equals(message.getMessageId())) {
                        if (!("".equals(messageId))) {
                            // dump the collected set of variables into XML
                            // format
                            dumpXML(result, messageDirection, messageUUID,
                                    messageStatus, messageTimestamp,
                                    activityType, applicationFailure,
                                    technicalFailure, messageFormat,
                                    messageType, serviceName, arcKey,
                                    parentRecord, index, messageIds[index - 1]);
                        }
                        activityType = "";
                        applicationFailure = "";
                        technicalFailure = "";
                        messageFormat = "";
                        messageType = "";
                        arcKey = "";
                        parentRecord = false;

                        // repeated with same value for all the rows. So getting
                        // assigned from the values in the
                        // first row is sufficient
                        messageId = message.getMessageId();
                        messageDirection = message.getMessageDirection();
                        messageUUID = message.getMessageUUID();
                        messageStatus = message.getStatus();
                        messageTimestamp = message.getTimestamp();
                        serviceName = message.getServiceName();
                        activityId = message.getActivityId();
                    }

                    if (("activity_type").equals(message.getKey())) {
                        activityType = message.getValue();
                    } else if ("application_failure".equals(message.getKey())) {
                        applicationFailure = message.getValue();
                    } else if ("technical_failure".equals(message.getKey())) {
                        technicalFailure = message.getValue();
                    } else if ("message_format".equals(message.getKey())) {
                        messageFormat = message.getValue();
                    } else if ("message_type".equals(message.getKey())) {
                        messageType = message.getValue();
                    } else if ("arc_key".equals(message.getKey())) {
                        arcKey = message.getValue();
                    } else if (message.getKey().contains("parent")) {
                        parentRecord = true;
                    }
                    // MessageForMessageID[] messages = bamDSClient
                    // .getMessageForMessageID(Integer
                    // .parseInt(messageId[index].getMessageId()));
View Full Code Here

Examples of plugins.Freetalk.Message.MessageID

    WoTIdentity myAuthor = new WoTOwnIdentity(WoTIdentity.getIDFromURI(authorRequestSSK), authorRequestSSK, authorInsertSSK, "Nickname");
    myAuthor.initializeTransient(mFreetalk);
    myAuthor.storeAndCommit();
   
    FreenetURI myThreadFreenetURI = new FreenetURI("CHK@7qMS7LklYIhbZ88i0~u97lxrLKS2uxNwZWQOjPdXnJw,IlA~FSjWW2mPWlzWx7FgpZbBErYdLkqie1uSrcN~LbM,AAIA--8");
    MessageID myThreadID = MessageID.construct("afe6519b-7fb2-4533-b172-1f966e79d127" + "@" + myAuthor.getID());
   
    FreenetURI myParentFreenetURI = new FreenetURI("CHK@H4nfdTqgQUQ0CkdPzvrs2F~IIkjOCnfEn~S042jUxuw,wkCrKtmvmYQzuo3f4v2JlB87wJkK0dspmGJ~ivztYP8,AAIA--8");
    MessageID myParentID = MessageID.construct("d5b0dcc4-91cb-4870-8ab9-8588e895fa5d" + "@" + myAuthor.getID());
   
    mMessageFreenetURI = new FreenetURI("CHK@7qMS7LklYIhbZ88i0~u97lxrLKS2uxNwZWQOjPdXnJw,IlA~FSjWW2mPWlzWx7FgpZbBErYdLkqie1uSrcN~LbM,AAIA--8");
    MessageID myMessageID = MessageID.construct("2a3a8e7e-9e53-4978-a8fd-17b2d92d949c" + "@" + myAuthor.getID());
   
    List<MessageList.MessageReference> messageReferences = new ArrayList<MessageList.MessageReference>(2);
    for(Board board : myBoards) {
      messageReferences.add(new MessageList.MessageReference(myThreadID, myThreadFreenetURI, board, CurrentTimeUTC.get()));
      messageReferences.add(new MessageList.MessageReference(myParentID, myParentFreenetURI, board, CurrentTimeUTC.get()));
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.