[jboss-svn-commits] JBL Code SVN: r7467 - labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Nov 8 09:51:10 EST 2006


Author: daniel.brum at jboss.com
Date: 2006-11-08 09:51:08 -0500 (Wed, 08 Nov 2006)
New Revision: 7467

Removed:
   labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/Launcher.java
Modified:
   labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java
Log:


Deleted: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/Launcher.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/Launcher.java	2006-11-08 14:18:24 UTC (rev 7466)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/Launcher.java	2006-11-08 14:51:08 UTC (rev 7467)
@@ -1,58 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.soa.esb.samples.trailblazer.web;
-
-import org.apache.log4j.xml.DOMConfigurator;
-import org.jboss.soa.esb.listeners.message.*;
-
-public class Launcher {
-
-	/**
-	 * @param args
-	 */
-	public static void main(String[] args) throws Exception
-	{
-//		DOMConfigurator.configure("log4j.xml");
-//		final String CONFIG_FILE = "conf/LoanBrokerConfig.xml";
-//		String configFile=null;
-//		if (args.length < 1) {
-//			System.out.println("Going to use default path to config file:" + CONFIG_FILE);
-//			configFile=CONFIG_FILE;
-//		} else {
-//			configFile=args[0];
-//		}
-//		System.out.println("Using configFile=" + configFile);
-//		GpListener oProc = new GpListener(configFile);
-//		oProc.run();
-//		GpListener.State oS = oProc.getState();
-//
-//		if (null!=oS.getException())
-//		{
-//			org.apache.log4j.Logger.getLogger(Launcher.class).error
-//			  ("GpListener <"+args[0]+"> FAILED\n",oS.getException());
-//		}
-//		System.exit(oS.getCompletionCode());
-
-	}
-
-}

Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java	2006-11-08 14:18:24 UTC (rev 7466)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java	2006-11-08 14:51:08 UTC (rev 7467)
@@ -53,7 +53,7 @@
  * score is obtained from a credit agency. Then 2 banks are send request for
  * an interest rate quote.
  */
- at WebService(name = "LoanBrokerWS", targetNamespace = "http://localhost/loanbroker")
+ at WebService(name = "LoanBrokerESB-WS", targetNamespace = "http://localhost/trailblazerWS")
 @SOAPBinding(style = SOAPBinding.Style.RPC)
 public class LoanBrokerWS 
 {
@@ -109,7 +109,7 @@
 									);
 						message.getHeader().getCall().setReplyTo(replyEpr);						
 						if (courier.deliver(message)) {
-							replyMessage = jmsQueueReplyListener.listen(replyEpr);
+							replyMessage = jmsQueueReplyListener.listen(replyEpr, 5000);
 							logger.info("reply from service received: " + replyMessage);
 							break;
 					} else {




More information about the jboss-svn-commits mailing list