Package org.apache.ode.utils

Examples of org.apache.ode.utils.GUID


  }

  private MyRoleMessageExchange createMessageExchange(InvocationAdapter adapter)
  {
    // Creating message exchange
    String messageId = new GUID().toString();
    MyRoleMessageExchange odeMex = _bpelServer.getEngine()
        .createMessageExchange(messageId, adapter.getServiceName(), adapter.getOperationName());
    if (__log.isDebugEnabled())  __log.debug("ODE routed to operation " + odeMex.getOperation() + " from service " + adapter.getServiceName());
    return odeMex;
  }
View Full Code Here


    cache.start();
  }
 
  public <K, V> Cache<K, V> createCache() {
   
    String fqnString = RIFTSAW_NODE_PREFIX + new GUID().toString();
    Fqn<String> theFqn = Fqn.fromString(fqnString);     
    Cache<K, V> result = new JBossCache<K, V>(cache, theFqn);
    return result;
  }
View Full Code Here

       
        _db.shutdown();
    }

    protected Scheduler createScheduler() {
        SimpleScheduler scheduler = new SimpleScheduler(new GUID().toString(),new JdbcDelegate(_db.getDataSource()));
        scheduler.setTransactionManager(_txMgr);

        return scheduler;
    }
View Full Code Here

        Future onhold = null;
       
        //Process the BPEL process invocation
        try {
            txMgr.begin();
            mex = odeServer.getBpelServer().getEngine().createMessageExchange(new GUID().toString(),
                                                                              bpelServiceName,
                                                                              bpelOperationName);
            onhold = mex.invoke(createInvocationMessage(mex, args));
           
            txMgr.commit();
View Full Code Here

        Future onhold = null;
       
        //Process the BPEL process invocation
        try {
            txMgr.begin();
            mex = odeServer.getBpelServer().getEngine().createMessageExchange(new GUID().toString(),
                                                                              bpelServiceName,
                                                                              bpelOperationName);
            onhold = mex.invoke(createInvocationMessage(mex, args));
           
            txMgr.commit();
View Full Code Here

            }
        }
    }

    protected Scheduler createScheduler() {
        SimpleScheduler scheduler = new SimpleScheduler(new GUID().toString(),new JdbcDelegate(_db.getDataSource()));
        scheduler.setTransactionManager(_txMgr);

        return scheduler;
    }
View Full Code Here

            MyRoleMessageExchange mex = null;
            Future onhold = null;
            try {
                // invoke the process
                txMgr.begin();
                mex = odeServer.getBpelServer().getEngine().createMessageExchange(new GUID().toString(),
                        new QName("http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl", "HelloService"), "hello");

                Message request = mex.createMessage(new QName("", ""));
                request.setMessage(DOMUtils.stringToDOM("<message><TestPart><hello xmlns=\"http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl\">Hello</hello></TestPart></message>"));
                onhold = mex.invoke(request);
View Full Code Here

            }
        }
    }

    protected Scheduler createScheduler() {
        SimpleScheduler scheduler = new SimpleScheduler(new GUID().toString(),new JdbcDelegate(_db.getDataSource()));
        scheduler.setTransactionManager(_txMgr);

        return scheduler;
    }
View Full Code Here

        Future onhold = null;
       
        //Process the BPEL process invocation
        try {
            txMgr.begin();
            mex = odeServer.getBpelServer().getEngine().createMessageExchange(new GUID().toString(),
                                                                              bpelServiceName,
                                                                              bpelOperationName);
           
            onhold = mex.invoke(createInvocationMessage(mex, args));
           
View Full Code Here

            // If there is a myrole on the link, initialize the session id so it
            // is always
            // available for opaque correlations. The myrole session id should
            // never be changed.
            if (partnerLink.hasMyRole())
                pdao.setMySessionId(new GUID().toString());
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.ode.utils.GUID

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.