Examples of MessageDAO


Examples of org.apache.ode.bpel.dao.MessageDAO

    public Status getStatus() {
        return status;
    }

    public MessageDAO createMessage(QName type) {
        MessageDAO messageDAO = new MessageDAOImpl();
        messageDAO.setType(type);
        return messageDAO;
    }
View Full Code Here

Examples of org.apache.ode.bpel.dao.MessageDAO

        Operation operation = plink.getModel().getMyRoleOperation(opName);
        if (operation == null || operation.getOutput() == null) throw new NoSuchOperationException();

        // TODO what if msg==null? i.e. for a reply-with-fault.

        MessageDAO message = myrolemex.createMessage(operation.getOutput().getMessage().getQName());
        buildOutgoingMessage(message, msg);

        myrolemex.setResponse(message);

        AckType ackType;
View Full Code Here

Examples of org.apache.ode.bpel.dao.MessageDAO

        mexDao.setInstance(_dao);
        mexDao.setPattern((operation.getOutput() != null ? MessageExchangePattern.REQUEST_RESPONSE
                : MessageExchangePattern.REQUEST_ONLY));
        mexDao.setChannel(requestId);

        MessageDAO message = mexDao.createMessage(operation.getInput().getMessage().getQName());
        mexDao.setRequest(message);
        mexDao.setTimeout(30000);
        mexDao.setProperty(MessageExchange.PROPERTY_SEP_MYROLE_TRANSACTED, Boolean.valueOf(_atomicScope).toString());
        message.setType(operation.getInput().getMessage().getQName());
        buildOutgoingMessage(message, outgoingMessage);

        // prepare event
        ProcessMessageExchangeEvent evt = new ProcessMessageExchangeEvent();
        evt.setOperation(operation.getName());
View Full Code Here

Examples of org.camelcookbook.transactions.dao.MessageDao

            propagationNotSupported.setPropagationBehaviorName("PROPAGATION_NOT_SUPPORTED");
            registry.put("PROPAGATION_NOT_SUPPORTED", propagationNotSupported);
        }

        auditLogDao = new AuditLogDao(dataSource);
        messageDao = new MessageDao(dataSource);

        CamelContext camelContext = new DefaultCamelContext(registry);

        SqlComponent sqlComponent = new SqlComponent();
        sqlComponent.setDataSource(dataSource);
View Full Code Here

Examples of org.joget.apps.app.dao.MessageDao

    @Override
    public String processHashVariable(String variableKey) {
        AppDefinition appDef = (AppDefinition) getProperty("appDefinition");
        if (appDef != null) {
            ApplicationContext appContext = AppUtil.getApplicationContext();
            MessageDao messageDao = (MessageDao) appContext.getBean("messageDao");
            Message message = messageDao.loadByMessageKey(variableKey, AppUtil.getAppLocale(), appDef);
            if (message != null) {
                return message.getMessage();
            }
        }
        return null;
View Full Code Here

Examples of uk.org.microbase.notification.db.MessageDAO


      String notificationDbName = config.getProperty(PROP_NOTIFICATION_DB);
      runtime.setNotificationDB(
        DBUtils.connectDB(randomHost, notificationDbName));
      runtime.setMessageDao(new MessageDAO(runtime.getNotificationDB()));
//      runtime.setMessageQueueDao(new MessageQueueDAO(runtime.getNotificationDB()));

      String schedulerDbName = config.getProperty(PROP_SCHEDULER_DB);
      runtime.setSchedulerDB(
        DBUtils.connectDB(randomHost, schedulerDbName));
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.