| Commit in servicemix/base/src/main on MAIN | |||
| release/examples/http-binding/README.txt | +1 | -1 | 1.1 -> 1.2 |
| java/org/servicemix/components/rss/RssPollingComponent.java | +2 | -2 | 1.1 -> 1.2 |
| java/org/servicemix/jbi/container/JBIContainer.java | +7 | -1 | 1.46 -> 1.47 |
| release/examples/jms-binding/README.txt | +1 | -1 | 1.2 -> 1.3 |
| +11 | -5 | ||
some tidying ...
servicemix/base/src/main/release/examples/http-binding
diff -u -r1.1 -r1.2 --- README.txt 1 Aug 2005 17:33:42 -0000 1.1 +++ README.txt 12 Aug 2005 17:53:32 -0000 1.2 @@ -11,7 +11,7 @@
This will start http server on port 8912 and wait for a request to come in which It then forwards to http://64.124.140.30/soap for processing.
-A simple JMS client is provided so that a simple ost gan be set to the server.
+A simple HTTP client is provided so that a simple post can be set to the server.
The client is built and run from source using Ant, http://ant.apache.org. Just execute 'ant' from the current directory to run the HTTP client.
servicemix/base/src/main/java/org/servicemix/components/rss
diff -u -r1.1 -r1.2 --- RssPollingComponent.java 11 Aug 2005 16:38:08 -0000 1.1 +++ RssPollingComponent.java 12 Aug 2005 17:53:32 -0000 1.2 @@ -42,13 +42,13 @@
/** * The RssPollingComponent polls for updates to RSS feeds *
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class RssPollingComponent extends ComponentSupport {
private static final Log log = LogFactory.getLog(RssPollingComponent.class);
private List urlStrings = new ArrayList();
private List urls = new ArrayList();
- private Date lastPolledDate = new Date(0);
+ private Date lastPolledDate = new Date();
private String outputType = "rss_2.0";
private int monitorInterval = 10;// time in seconds
private Timer statsTimer = new Timer(true);
servicemix/base/src/main/java/org/servicemix/jbi/container
diff -u -r1.46 -r1.47 --- JBIContainer.java 10 Aug 2005 19:08:58 -0000 1.46 +++ JBIContainer.java 12 Aug 2005 17:53:32 -0000 1.47 @@ -73,7 +73,7 @@
/** * The main container *
- * @version $Revision: 1.46 $
+ * @version $Revision: 1.47 $
*/
public class JBIContainer extends BaseLifeCycle {
/**
@@ -490,6 +490,12 @@
}
catch (NamingException e) {
log.debug("No transaction manager found from naming context", e);
+ try {
+ transactionManager = (TransactionManager) namingContext.lookup("javax.transaction.TransactionManager");
+ }
+ catch (NamingException e1) {
+ log.debug("No transaction manager found from naming context", e);
+ }
}
}
return transactionManager;
servicemix/base/src/main/release/examples/jms-binding
diff -u -r1.2 -r1.3 --- README.txt 29 Jul 2005 07:59:44 -0000 1.2 +++ README.txt 12 Aug 2005 17:53:32 -0000 1.3 @@ -10,7 +10,7 @@
This will start a component which listens for a JMS message on topic 'demo.org.servicemix.source' and then publishes processed messages to topic 'demo.org.servicemix.result'.
-A simple JMS client is provided so that messages can sent and received from those JMS topics. The client is built
+A simple JMS client is provided so that messages can be sent and received from those JMS topics. The client is built
and run from source using Ant, http://ant.apache.org. Just execute 'ant' from the current directory to run the JMS client.
