diff --git a/README.md b/README.md index 70e09487..76e7577c 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ This is a good place to get started. The samples here are technically motivated * **ws-inbound-gateway** - Example showing basic functionality of the **Web Service Gateway** * **ws-outbound-gateway** - Shows outbound web services support using the **Web Service Outbound Gateway**, **Content Enricher**, Composed Message Processor (**Chain**) * **xml** - Example demonstrates various aspects of the **Xml** support using an **XPath Splitter**, **XPath Router**, **XSLT Transformer** as well as **XPath Expression** support -* **xmpp** - Show the support for [**XMPP**](http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol) (formerly known as Jabber) using e.g. GoogleTalk +* **xmpp** - Show the support for [**XMPP**](https://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol) (formerly known as Jabber) using e.g. GoogleTalk ## Intermediate @@ -87,15 +87,15 @@ This category targets developers who are already more familiar with the Spring I * **errorhandling** - Demonstrates basic **Error Handling** capabilities of Spring Integration * **file-processing** - Sample demonstrates how to wire a message flow to process files either sequentially (maintain the order) or concurrently (no order). * **mail-attachments** - Demonstrates the processing of email attachments -* **monitoring** The project used in the *[Spring Integration Management and Monitoring Webinar](http://www.springsource.org/node/3598)* Also available on the *[SpringSourceDev YouTube Channel](http://www.youtube.com/SpringSourceDev)* +* **monitoring** The project used in the *[Spring Integration Management and Monitoring Webinar](https://www.springsource.org/node/3598)* Also available on the *[SpringSourceDev YouTube Channel](https://www.youtube.com/SpringSourceDev)* * **multipart-http** - Demonstrates the sending of HTTP multipart requests using Spring's **RestTemplate** and a Spring Integration **Http Outbound Gateway** * **rest-http** - This sample demonstrates how to send an HTTP request to a Spring Integration's HTTP service while utilizing Spring Integration's new HTTP Path usage. This sample also uses Spring Security for HTTP Basic authentication. With HTTP Path facility, the client program can send requests with URL Variables. * **retry-and-more** Provides samples showing the application of MessageHandler Advice Chains to endpoints - retry, circuit breaker, expression evaluating * **splitter-aggregator-reaper** A demonstration of implementing the Splitter and Aggregator *Enterprise Integration Patterns* (EIP) together. This sample also provides a concrete example of a [message store reaper][] in action. -* **stored-procedures-derby** Provides an example of the stored procedure Outbound Gateway using *[Apache Derby](http://db.apache.org/derby/)* +* **stored-procedures-derby** Provides an example of the stored procedure Outbound Gateway using *[Apache Derby](https://db.apache.org/derby/)* * **stored-procedures-ms** Provides an example of the stored procedure Outbound Gateway using *Microsoft SQL Server* * **stored-procedures-oracle** Provides an example of the stored procedure Outbound Gateway using *ORACLE XE* -* **stored-procedures-postgresql** Provides an example of the stored procedure Outbound Gateway using *[PostgreSQL](http://www.postgresql.org/)* +* **stored-procedures-postgresql** Provides an example of the stored procedure Outbound Gateway using *[PostgreSQL](https://www.postgresql.org/)* * **tcp-client-server-multiplex** - Demonstrates the use of *Collaborating Channel Adapters* * **travel** - More sophisticated example showing the retrieval of weather (SOAP Web Service) and traffic (HTTP Service) reports using real services * **tx-synch** Provides a sample demonstrating the use of transaction synchronization, renaming an input file to a different filename, depending on whether the transaction commits, or rolls back. @@ -112,12 +112,12 @@ This category targets advanced developers who are quite familiar with Spring Int This category targets developers and architects who have a good understanding of Message-Driven architecture and Enterprise Integration Patterns, and have an above average understanding of Spring and Spring integration and who are looking for samples that address a particular business problem. In other words, the emphasis of samples in this category is '**business use cases**' and how they can be solved via a Messaging architecture and Spring Integration in particular. For example, if you are interested to see how a Loan Broker process or Travel Agent process could be implemented and automated via Spring Integration, this would be the right place to find these types of samples. -* **cafe** - Emulates a simple operation of a coffee shop combining various Spring Integration adapters (Including **Router** and **Splitter**) see [Appendix A of the reference documentation](http://static.springsource.org/spring-integration/docs/latest-ga/reference/html/samples.html) for more details. Implementations are provided for: +* **cafe** - Emulates a simple operation of a coffee shop combining various Spring Integration adapters (Including **Router** and **Splitter**) see [Appendix A of the reference documentation](https://docs.spring.io/spring-integration/docs/latest-ga/reference/html/samples.html) for more details. Implementations are provided for: - AMQP - JMS - In memory channels * **cafe-scripted** - Scripted implementation of the classic **cafe** sample application. Supports **JavaScript**, **Groovy**, **Ruby**, and **Python**. -* **loan-broker** - Simulates a simple banking application (Uses **Gateway**, **Chain**, **Header Enricher**, **Recipient List Router**, **Aggregator**) see [Appendix A of the reference documentation](http://docs.spring.io/spring-integration/reference/html/samples.html) for more details +* **loan-broker** - Simulates a simple banking application (Uses **Gateway**, **Chain**, **Header Enricher**, **Recipient List Router**, **Aggregator**) see [Appendix A of the reference documentation](https://docs.spring.io/spring-integration/reference/html/samples.html) for more details * **loanshark** This extension to the loan broker sample shows how to exchange messages between Spring Integration applications (and other technologies) using **UDP**. **file-split-ftp** - Reads a file; splits into 3 based on contents; sends files over ftp; sends email with results. @@ -127,7 +127,7 @@ See the [Spring Integration Contributor Guidelines](https://github.com/spring-pr # Resources -For more information, please visit the Spring Integration website at: [http://projects.spring.io/spring-integration/](http://projects.spring.io/spring-integration/) +For more information, please visit the Spring Integration website at: [https://projects.spring.io/spring-integration/](https://projects.spring.io/spring-integration/) [Spring Integration]: https://github.com/spring-projects/spring-integration [Spring Integration Extensions]: https://github.com/spring-projects/spring-integration-extensions @@ -137,6 +137,6 @@ For more information, please visit the Spring Integration website at: [http://pr [Spring Integration Dsl Scala]: https://github.com/spring-projects/spring-integration-dsl-scala [Spring Integration Pattern Catalog]: https://github.com/spring-projects/spring-integration-pattern-catalog -[message store reaper]: http://static.springsource.org/spring-integration/api/org/springframework/integration/store/MessageGroupStoreReaper.html +[message store reaper]: https://docs.spring.io/spring-integration/api/org/springframework/integration/store/MessageGroupStoreReaper.html [Xavier Padró]: https://github.com/xpadro/spring-integration diff --git a/advanced/README.md b/advanced/README.md index c48f3367..2a9519c2 100644 --- a/advanced/README.md +++ b/advanced/README.md @@ -1,7 +1,7 @@ Advanced Samples ================ -This category targets advanced developers who are well familiar with the [Spring Integration](http://www.springsource.org/spring-integration) framework but are looking to extend it to address a specific custom need by extending from Spring Integration's public API. +This category targets advanced developers who are well familiar with the [Spring Integration](https://www.springsource.org/spring-integration) framework but are looking to extend it to address a specific custom need by extending from Spring Integration's public API. For example; if you are looking for samples showing you how to implement a custom **Channel** or **Consumer** (event-based or polling-based), or if you trying to figure out what is the most appropriate way to implement a custom **BeanParser** on top of the Spring Integration BeanParser hierarchy when implementing custom namespaces, this would be the right place to look. diff --git a/advanced/dynamic-ftp/README.md b/advanced/dynamic-ftp/README.md index b974f6ae..8717e6e7 100644 --- a/advanced/dynamic-ftp/README.md +++ b/advanced/dynamic-ftp/README.md @@ -19,5 +19,5 @@ Notice in the config file, how an **expression-based router** is used to invoke This sample shows the technique for outbound adapters. Refer to [this forum thread][1] and its [links][2] for a similar technique for dynamic inbound endpoints. -[1]: http://forum.spring.io/forum/spring-projects/integration/119081-dynamic-inbound-channel-adapter-creation -[2]: http://forum.spring.io/forum/spring-projects/integration/117523-starting-multiple-consumers?p=589517#post589517 +[1]: https://forum.spring.io/forum/spring-projects/integration/119081-dynamic-inbound-channel-adapter-creation +[2]: https://forum.spring.io/forum/spring-projects/integration/117523-starting-multiple-consumers?p=589517#post589517 diff --git a/applications/cafe/README.md b/applications/cafe/README.md index c63b4ef6..3787b97e 100644 --- a/applications/cafe/README.md +++ b/applications/cafe/README.md @@ -60,11 +60,11 @@ Upon running any of the alternatives, you should see the output similar to this: Happy integration :-) -[ActiveMQ]: http://activemq.apache.org/ -[AMQP]: http://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol -[café]: http://en.wikipedia.org/wiki/Caf%C3%A9 -[Enterprise Integration Patterns]: http://www.eaipatterns.com/eaipatterns.html -[Gregor Hohpe]: http://www.eaipatterns.com/gregor.html -[JMS]: http://en.wikipedia.org/wiki/Java_Message_Service -[RabbitMQ]: http://www.rabbitmq.com/ -[Starbucks Does Not Use Two-Phase Commit]: http://www.eaipatterns.com/ramblings/18_starbucks.html +[ActiveMQ]: https://activemq.apache.org/ +[AMQP]: https://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol +[café]: https://en.wikipedia.org/wiki/Caf%25C3%25A9 +[Enterprise Integration Patterns]: https://www.enterpriseintegrationpatterns.com/eaipatterns.html +[Gregor Hohpe]: https://www.enterpriseintegrationpatterns.com/gregor.html +[JMS]: https://en.wikipedia.org/wiki/Java_Message_Service +[RabbitMQ]: https://www.rabbitmq.com/ +[Starbucks Does Not Use Two-Phase Commit]: https://www.enterpriseintegrationpatterns.com/ramblings/18_starbucks.html diff --git a/applications/loanshark/src/main/webapp/WEB-INF/tags/form/fields/select.tagx b/applications/loanshark/src/main/webapp/WEB-INF/tags/form/fields/select.tagx index 09122bb0..a42a51dd 100644 --- a/applications/loanshark/src/main/webapp/WEB-INF/tags/form/fields/select.tagx +++ b/applications/loanshark/src/main/webapp/WEB-INF/tags/form/fields/select.tagx @@ -85,7 +85,7 @@ - + diff --git a/applications/loanshark/src/main/webapp/WEB-INF/views/footer.jspx b/applications/loanshark/src/main/webapp/WEB-INF/views/footer.jspx index 89af49c7..b835924f 100644 --- a/applications/loanshark/src/main/webapp/WEB-INF/views/footer.jspx +++ b/applications/loanshark/src/main/webapp/WEB-INF/views/footer.jspx @@ -29,7 +29,7 @@ - + ${fn:escapeXml(sponsored)} diff --git a/applications/stomp-chat/src/main/resources/static/sockjs.js b/applications/stomp-chat/src/main/resources/static/sockjs.js index e3698041..6943b273 100644 --- a/applications/stomp-chat/src/main/resources/static/sockjs.js +++ b/applications/stomp-chat/src/main/resources/static/sockjs.js @@ -1,4 +1,4 @@ -/* SockJS client, version 0.3.4, http://sockjs.org, MIT License +/* SockJS client, version 0.3.4, https://github.com/sockjs/sockjs-client, MIT License Copyright (c) 2011-2012 VMware, Inc. diff --git a/applications/stomp-chat/src/main/resources/static/stomp.js b/applications/stomp-chat/src/main/resources/static/stomp.js index e5561fc2..3d422410 100644 --- a/applications/stomp-chat/src/main/resources/static/stomp.js +++ b/applications/stomp-chat/src/main/resources/static/stomp.js @@ -1,8 +1,8 @@ // Generated by CoffeeScript 1.7.1 /* - Stomp Over WebSocket http://www.jmesnil.net/stomp-websocket/doc/ | Apache License V2.0 + Stomp Over WebSocket http://jmesnil.net/stomp-websocket/doc/ | Apache License V2.0 Copyright (C) 2010-2013 [Jeff Mesnil](http://jmesnil.net/) - Copyright (C) 2012 [FuseSource, Inc.](http://fusesource.com) + Copyright (C) 2012 [FuseSource, Inc.](https://www.jboss.org/) */ (function(){var t,e,n,i,r={}.hasOwnProperty,o=[].slice;t={LF:"\n",NULL:"\x00"};n=function(){var e;function n(t,e,n){this.command=t;this.headers=e!=null?e:{};this.body=n!=null?n:""}n.prototype.toString=function(){var e,i,o,s,u;e=[this.command];o=this.headers["content-length"]===false?true:false;if(o){delete this.headers["content-length"]}u=this.headers;for(i in u){if(!r.call(u,i))continue;s=u[i];e.push(""+i+":"+s)}if(this.body&&!o){e.push("content-length:"+n.sizeOfUTF8(this.body))}e.push(t.LF+this.body);return e.join(t.LF)};n.sizeOfUTF8=function(t){if(t){return encodeURI(t).match(/%..|./g).length}else{return 0}};e=function(e){var i,r,o,s,u,a,c,f,h,l,p,d,g,b,m,v,y;s=e.search(RegExp(""+t.LF+t.LF));u=e.substring(0,s).split(t.LF);o=u.shift();a={};d=function(t){return t.replace(/^\s+|\s+$/g,"")};v=u.reverse();for(g=0,m=v.length;gy;c=p<=y?++b:--b){r=e.charAt(c);if(r===t.NULL){break}i+=r}}return new n(o,a,i)};n.unmarshall=function(n){var i;return function(){var r,o,s,u;s=n.split(RegExp(""+t.NULL+t.LF+"*"));u=[];for(r=0,o=s.length;r0){u.push(e(i))}}return u}()};n.marshall=function(e,i,r){var o;o=new n(e,i,r);return o.toString()+t.NULL};return n}();e=function(){var e;function r(t){this.ws=t;this.ws.binaryType="arraybuffer";this.counter=0;this.connected=false;this.heartbeat={outgoing:1e4,incoming:1e4};this.maxWebSocketFrameSize=16*1024;this.subscriptions={}}r.prototype.debug=function(t){var e;return typeof window!=="undefined"&&window!==null?(e=window.console)!=null?e.log(t):void 0:void 0};e=function(){if(Date.now){return Date.now()}else{return(new Date).valueOf}};r.prototype._transmit=function(t,e,i){var r;r=n.marshall(t,e,i);if(typeof this.debug==="function"){this.debug(">>> "+r)}while(true){if(r.length>this.maxWebSocketFrameSize){this.ws.send(r.substring(0,this.maxWebSocketFrameSize));r=r.substring(this.maxWebSocketFrameSize);if(typeof this.debug==="function"){this.debug("remaining = "+r.length)}}else{return this.ws.send(r)}}};r.prototype._setupHeartbeat=function(n){var r,o,s,u,a,c;if((a=n.version)!==i.VERSIONS.V1_1&&a!==i.VERSIONS.V1_2){return}c=function(){var t,e,i,r;i=n["heart-beat"].split(",");r=[];for(t=0,e=i.length;t>> PING"):void 0}}(this))}if(!(this.heartbeat.incoming===0||o===0)){s=Math.max(this.heartbeat.incoming,o);if(typeof this.debug==="function"){this.debug("check PONG every "+s+"ms")}return this.ponger=i.setInterval(s,function(t){return function(){var n;n=e()-t.serverActivity;if(n>s*2){if(typeof t.debug==="function"){t.debug("did not receive server activity for the last "+n+"ms")}return t.ws.close()}}}(this))}};r.prototype._parseConnect=function(){var t,e,n,i;t=1<=arguments.length?o.call(arguments,0):[];i={};switch(t.length){case 2:i=t[0],e=t[1];break;case 3:if(t[1]instanceof Function){i=t[0],e=t[1],n=t[2]}else{i.login=t[0],i.passcode=t[1],e=t[2]}break;case 4:i.login=t[0],i.passcode=t[1],e=t[2],n=t[3];break;default:i.login=t[0],i.passcode=t[1],e=t[2],n=t[3],i.host=t[4]}return[i,e,n]};r.prototype.connect=function(){var r,s,u,a;r=1<=arguments.length?o.call(arguments,0):[];a=this._parseConnect.apply(this,r);u=a[0],this.connectCallback=a[1],s=a[2];if(typeof this.debug==="function"){this.debug("Opening Web Socket...")}this.ws.onmessage=function(i){return function(r){var o,u,a,c,f,h,l,p,d,g,b,m;c=typeof ArrayBuffer!=="undefined"&&r.data instanceof ArrayBuffer?(o=new Uint8Array(r.data),typeof i.debug==="function"?i.debug("--- got data length: "+o.length):void 0,function(){var t,e,n;n=[];for(t=0,e=o.length;t In order to run the example you will need a running instance of RabbitMQ. A local installation with just the basic defaults will be sufficient. Please visit: [http://www.rabbitmq.com/install.html](http://www.rabbitmq.com/install.html) for detailed installation procedures. +> In order to run the example you will need a running instance of RabbitMQ. A local installation with just the basic defaults will be sufficient. Please visit: [https://www.rabbitmq.com/install.html](https://www.rabbitmq.com/install.html) for detailed installation procedures. # How to Run the Sample -If you imported the example into your IDE, you can just run class **org.springframework.integration.samples.amqp.SampleSimple**. For example in [SpringSource Tool Suite](http://www.springsource.com/developer/sts) (STS) do: +If you imported the example into your IDE, you can just run class **org.springframework.integration.samples.amqp.SampleSimple**. For example in [SpringSource Tool Suite](https://www.springsource.com/developer/sts) (STS) do: * Right-click on SampleSimple class --> Run As --> Java Application @@ -81,9 +81,9 @@ Ctrl-C to terminate. For further help please take a look at the Spring Integration documentation: -* [http://static.springsource.org/spring-integration/reference/htmlsingle/#amqp](http://static.springsource.org/spring-integration/reference/htmlsingle/#amqp) +* [https://docs.spring.io/spring-integration/reference/htmlsingle/#amqp](https://docs.spring.io/spring-integration/reference/htmlsingle/#amqp) Some further resources: -* RabbitMQ - [http://www.rabbitmq.com/](http://www.rabbitmq.com/) -* Spring AMQP - [http://www.springsource.org/spring-amqp](http://www.springsource.org/spring-amqp) +* RabbitMQ - [https://www.rabbitmq.com/](https://www.rabbitmq.com/) +* Spring AMQP - [https://www.springsource.org/spring-amqp](https://www.springsource.org/spring-amqp) diff --git a/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SamplePubConfirmsReturns.java b/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SamplePubConfirmsReturns.java index 9bb7a2ec..d079f754 100644 --- a/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SamplePubConfirmsReturns.java +++ b/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SamplePubConfirmsReturns.java @@ -46,7 +46,7 @@ public final class SamplePubConfirmsReturns { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SampleSimple.java b/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SampleSimple.java index 72cbd073..1a74759f 100644 --- a/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SampleSimple.java +++ b/basic/amqp/src/main/java/org/springframework/integration/samples/amqp/SampleSimple.java @@ -47,7 +47,7 @@ public final class SampleSimple { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/basic/barrier/README.md b/basic/barrier/README.md index 2dc0c5d4..64795f23 100644 --- a/basic/barrier/README.md +++ b/basic/barrier/README.md @@ -29,7 +29,7 @@ The last flow drains the messages and allows the auto-delete queue to be removed $ gradlew :barrier:run -This will package the application and run it using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html) +This will package the application and run it using the [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html) #### Using an IDE such as SpringSource Tool Suite™ (STS) diff --git a/basic/enricher/README.md b/basic/enricher/README.md index c31afde6..03de82e3 100644 --- a/basic/enricher/README.md +++ b/basic/enricher/README.md @@ -32,5 +32,5 @@ Once the application has started, please execute the various Content Enricher ex For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration diff --git a/basic/enricher/src/main/java/org/springframework/integration/samples/enricher/Main.java b/basic/enricher/src/main/java/org/springframework/integration/samples/enricher/Main.java index 43ec03e4..218b5bda 100644 --- a/basic/enricher/src/main/java/org/springframework/integration/samples/enricher/Main.java +++ b/basic/enricher/src/main/java/org/springframework/integration/samples/enricher/Main.java @@ -58,7 +58,7 @@ public final class Main { + "\n Welcome to Spring Integration! " + EMPTY_LINE + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + EMPTY_LINE + LINE_SEPARATOR ); diff --git a/basic/helloworld/README.md b/basic/helloworld/README.md index 15ea72dc..74f49450 100644 --- a/basic/helloworld/README.md +++ b/basic/helloworld/README.md @@ -13,7 +13,7 @@ The Hello World application demonstrates a simple message flow represented by th Message -> Channel -> ServiceActivator -> QueueChannel To run the sample simply execute **HelloWorldApp** in package **org.springframework.integration.samples.helloworld**. -You can also execute that class using the [Gradle](http://www.gradle.org): +You can also execute that class using the [Gradle](https://www.gradle.org): $ gradlew :helloworld:runHelloWorldApp @@ -28,7 +28,7 @@ This simple application will print out the current system time twice every 20 se More specifically, an **Inbound Channel Adapter** polls for the current system time 2 times every 20 seconds (20000 milliseconds). The resulting message contains as payload the time in milliseconds and the message is sent to a **Logging Channel Adapter**, which will print the time to the command prompt. To run the sample simply execute **PollerApp** in package **org.springframework.integration.samples.helloworld**. -You can also execute that class using the [Gradle](http://www.gradle.org): +You can also execute that class using the [Gradle](https://www.gradle.org): $ gradlew :helloworld:runPollerApp diff --git a/basic/http/README.md b/basic/http/README.md index e6163dbc..1a2bb452 100644 --- a/basic/http/README.md +++ b/basic/http/README.md @@ -14,7 +14,7 @@ The sample consists of two parts: #### Command Line Using Gradle -The easiest way to run the **server** is to use the [Gradle Jetty Plugin](http://www.gradle.org/docs/current/userguide/jetty_plugin.html). +The easiest way to run the **server** is to use the [Gradle Jetty Plugin](https://www.gradle.org/docs/current/userguide/jetty_plugin.html). Simply execute: $ gradlew :http:jettyRun @@ -28,7 +28,7 @@ The resulting war-file will be located in the **target** folder. #### Using an IDE such as SpringSource Tool Suite™ (STS) -If you are using [STS](http://www.springsource.com/developer/sts) and the project is imported as an Eclipse project into your workspace, you can just execute **Run on Server**. This will start the **server** application. +If you are using [STS](https://www.springsource.com/developer/sts) and the project is imported as an Eclipse project into your workspace, you can just execute **Run on Server**. This will start the **server** application. ### Client @@ -38,7 +38,7 @@ In order to run the **client** using Gradle, execute: $ gradlew :http:run -This will package the application and run it using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html) +This will package the application and run it using the [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html) #### Using an IDE such as SpringSource Tool Suite™ (STS) diff --git a/basic/jdbc/README.md b/basic/jdbc/README.md index 2bd293ac..22d07163 100644 --- a/basic/jdbc/README.md +++ b/basic/jdbc/README.md @@ -66,5 +66,5 @@ For executing the program and see the results, execute the junit test case For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration diff --git a/basic/jdbc/src/main/java/org/springframework/integration/samples/jdbc/Main.java b/basic/jdbc/src/main/java/org/springframework/integration/samples/jdbc/Main.java index b9ba702a..837ddc97 100644 --- a/basic/jdbc/src/main/java/org/springframework/integration/samples/jdbc/Main.java +++ b/basic/jdbc/src/main/java/org/springframework/integration/samples/jdbc/Main.java @@ -58,7 +58,7 @@ public final class Main { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/basic/jms/README.md b/basic/jms/README.md index 34e7e5e0..b1239af6 100644 --- a/basic/jms/README.md +++ b/basic/jms/README.md @@ -36,7 +36,7 @@ The console output should look like: Welcome to the Spring Integration JMS Sample! For more information please visit: - http://www.springintegration.org/ + https://www.springsource.org/spring-integration/ ========================================================= 16:48:21.158 INFO [org.springframework.integration.samples.jms.Main.main()][org.springframework.integration.samples.jms.ActiveMqTestUtils] Refreshing ActiveMQ data directory. diff --git a/basic/jms/src/main/java/org/springframework/integration/samples/jms/Main.java b/basic/jms/src/main/java/org/springframework/integration/samples/jms/Main.java index b783135e..fb1fc3ef 100644 --- a/basic/jms/src/main/java/org/springframework/integration/samples/jms/Main.java +++ b/basic/jms/src/main/java/org/springframework/integration/samples/jms/Main.java @@ -61,7 +61,7 @@ public class Main { + "\n Welcome to the Spring Integration JMS Sample! " + "\n " + "\n For more information please visit: " - + "\n http://www.springintegration.org/ " + + "\n https://www.springsource.org/spring-integration/ " + "\n " + "\n=========================================================" ); diff --git a/basic/jpa/README.md b/basic/jpa/README.md index d54501a9..dc5e20f7 100644 --- a/basic/jpa/README.md +++ b/basic/jpa/README.md @@ -20,5 +20,5 @@ Hibernate works out of the box and there are 2 options on how to execute the sam For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration diff --git a/basic/jpa/src/main/java/org/springframework/integration/samples/jpa/Main.java b/basic/jpa/src/main/java/org/springframework/integration/samples/jpa/Main.java index ebab4f0a..10ab7593 100644 --- a/basic/jpa/src/main/java/org/springframework/integration/samples/jpa/Main.java +++ b/basic/jpa/src/main/java/org/springframework/integration/samples/jpa/Main.java @@ -60,7 +60,7 @@ public class Main { + "\n Welcome to the Spring Integration JPA Sample! " + "\n " + "\n For more information please visit: " - + "\n http://www.springintegration.org/ " + + "\n https://www.springsource.org/spring-integration/ " + "\n " + "\n========================================================="); diff --git a/basic/kafka/README.md b/basic/kafka/README.md index a15bea09..43b25894 100644 --- a/basic/kafka/README.md +++ b/basic/kafka/README.md @@ -11,7 +11,7 @@ Start Apache Zookeeper and Apache Kafka according to the documentation for the A $ gradlew :kafka:run -This will package the application and run it using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html) +This will package the application and run it using the [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html) #### Using an IDE such as SpringSource Tool Suite™ (STS) diff --git a/basic/mongodb/README.md b/basic/mongodb/README.md index f2825f81..34b964d1 100644 --- a/basic/mongodb/README.md +++ b/basic/mongodb/README.md @@ -56,7 +56,7 @@ As you can see from the example below, the configuration of MongoDb Inbound Chan -Notice the **query** attribute which allows you to provide JSON queries represented as simple String. For more information on MongoDb queries please refer to [MongoDb documentation](http://www.mongodb.org/display/DOCS/Querying) +Notice the **query** attribute which allows you to provide JSON queries represented as simple String. For more information on MongoDb queries please refer to [MongoDb documentation](https://www.mongodb.org/display/DOCS/Querying) In the above case we are selecting all documents where *state* element of the *address* element is **'CA'**. As you may have guessed the MongoDb Inbound Channel Adapter returns List by default, so you can easily configure a very basic splitter downstream (as in this example) to process one message at the time. Run the **MongoDbInboundAdapterDemo** and you should see the results in the console: 04:37:30.720 WARN . . . { "_id" : { "$oid" : "50601bca0364063859066bcd"} , "_class" : "org.springframework.integration.samples.mongodb.domain.Person" , "fname" : "John" , "lname" : "Doe" , "address" : { "street" : "3401 Hillview Ave" , "city" : "Palo Alto" , "zip" : "94304" , "state" : "CA"}} @@ -65,4 +65,4 @@ In the above case we are selecting all documents where *state* element of the *a However, if you know that your query can only return a single result you can avoid returning List by configuring **expect-single-result** attribute setting its value to *true*. Also, you may wish to do some post-processing to the successfully processed data that was read from the MongoDb. For example; you may want to move or remove a document after its been processed. -You can do this using Transaction Synchronization feature that was added with *Spring Integration 2.2* and which will be discussed in the next blog in this series expected in a few days (from Gary Russell). However the impatient once can get more details now by reading MongoDb Inbound Channel Adapter section of the reference manual [http://static.springsource.org/spring-integration/docs/2.2.0.RC3/reference/htmlsingle/#mongodb-inbound-channel-adapter](http://static.springsource.org/spring-integration/docs/2.2.0.RC3/reference/htmlsingle/#mongodb-inbound-channel-adapter). +You can do this using Transaction Synchronization feature that was added with *Spring Integration 2.2* and which will be discussed in the next blog in this series expected in a few days (from Gary Russell). However the impatient once can get more details now by reading MongoDb Inbound Channel Adapter section of the reference manual [https://docs.spring.io/spring-integration/docs/2.2.0.RC3/reference/htmlsingle/#mongodb-inbound-channel-adapter](https://docs.spring.io/spring-integration/docs/2.2.0.RC3/reference/htmlsingle/#mongodb-inbound-channel-adapter). diff --git a/basic/mqtt/README.md b/basic/mqtt/README.md index 5e42bce7..a0e35387 100644 --- a/basic/mqtt/README.md +++ b/basic/mqtt/README.md @@ -13,7 +13,7 @@ dispatched to the MQTT topic. In return that message is retrieved by Spring Inte # How to Run the Sample If you imported the example into your IDE, you can just run class **org.springframework.integration.samples.mqtt.Application**. -For example in [SpringSource Tool Suite](http://www.springsource.com/developer/sts) (STS) do: +For example in [SpringSource Tool Suite](https://www.springsource.com/developer/sts) (STS) do: * Right-click on SampleSimple class --> Run As --> Spring Boot App diff --git a/basic/oddeven/README.md b/basic/oddeven/README.md index 48b80a52..ea306f3a 100644 --- a/basic/oddeven/README.md +++ b/basic/oddeven/README.md @@ -37,7 +37,7 @@ The following Spring Integration components are being used: ## Running the Samples To run the two samples, simply execute either **CronOddEvenDemo** or **IntervalOddEvenDemoTestApp** in package **org.springframework.integration.samples.oddeven**. -You can also execute those two samples using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html): +You can also execute those two samples using the [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html): $ gradlew :oddeven:runCronOddEvenDemo diff --git a/basic/sftp/README.md b/basic/sftp/README.md index dfc9b472..a3849aca 100644 --- a/basic/sftp/README.md +++ b/basic/sftp/README.md @@ -12,7 +12,7 @@ In order to run this sample for the 'real' SFTP Server you need to: 2. update user.properties file with appropriate values 3. run the sample -By default this sample uses an [Apache MINA](http://mina.apache.org/sshd-project) embedded `SshServer` with predefined +By default this sample uses an [Apache MINA](https://mina.apache.org/sshd-project) embedded `SshServer` with predefined private and public keys. Note, the embedded Server is started only when the `port` property remains as `-1`. In this case the target port for the Embedded Server is selected randomly. For a real SFTP server you should specify correct `host/port` properties. diff --git a/basic/tcp-amqp/README.md b/basic/tcp-amqp/README.md index b673e086..2db24d2a 100644 --- a/basic/tcp-amqp/README.md +++ b/basic/tcp-amqp/README.md @@ -9,10 +9,10 @@ Once the application is started, you enter some text in a telnet session and the telnet->tcp-inbound-adapter->rabbit->tcp-outbound-adapter->netcat -telnet: http://en.wikipedia.org/wiki/Telnet -netcat: http://en.wikipedia.org/wiki/Netcat +telnet: https://en.wikipedia.org/wiki/Telnet +netcat: https://en.wikipedia.org/wiki/Netcat -> In order to run the example you will need a running instance of RabbitMQ. A local installation with just the basic defaults will be sufficient. Please visit: [http://www.rabbitmq.com/install.html](http://www.rabbitmq.com/install.html) for detailed installation procedures. +> In order to run the example you will need a running instance of RabbitMQ. A local installation with just the basic defaults will be sufficient. Please visit: [https://www.rabbitmq.com/install.html](https://www.rabbitmq.com/install.html) for detailed installation procedures. # How to Run the Sample @@ -24,12 +24,12 @@ In a terminal window start [netcat][], listening on port *11112*: ## Start the Application -If you imported the example into your IDE, you can just run class **org.springframework.integration.samples.tcpamqp.Main**. For example in [SpringSource Tool Suite](http://www.springsource.com/developer/sts) (STS) do: +If you imported the example into your IDE, you can just run class **org.springframework.integration.samples.tcpamqp.Main**. For example in [SpringSource Tool Suite](https://www.springsource.com/developer/sts) (STS) do: * Right-click on Main class --> Run As --> Java Application Alternatively, you can start the sample from the command line -([Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html)): +([Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html)): $ gradlew :tcp-amqp:run @@ -53,11 +53,11 @@ Data typed into the telnet terminal will be echoed to the [netcat][] terminal, v For further help please take a look at the Spring Integration documentation: -* [http://static.springsource.org/spring-integration/reference/htmlsingle/#amqp](http://static.springsource.org/spring-integration/reference/htmlsingle/#amqp) +* [https://docs.spring.io/spring-integration/reference/htmlsingle/#amqp](https://docs.spring.io/spring-integration/reference/htmlsingle/#amqp) Some further resources: -* RabbitMQ - [http://www.rabbitmq.com/](http://www.rabbitmq.com/) -* Spring AMQP - [http://www.springsource.org/spring-amqp](http://www.springsource.org/spring-amqp) +* RabbitMQ - [https://www.rabbitmq.com/](https://www.rabbitmq.com/) +* Spring AMQP - [https://www.springsource.org/spring-amqp](https://www.springsource.org/spring-amqp) -[netcat]: http://en.wikipedia.org/wiki/Netcat +[netcat]: https://en.wikipedia.org/wiki/Netcat diff --git a/basic/tcp-amqp/src/main/java/org/springframework/integration/samples/tcpamqp/Main.java b/basic/tcp-amqp/src/main/java/org/springframework/integration/samples/tcpamqp/Main.java index b9f3c66e..26d41c21 100644 --- a/basic/tcp-amqp/src/main/java/org/springframework/integration/samples/tcpamqp/Main.java +++ b/basic/tcp-amqp/src/main/java/org/springframework/integration/samples/tcpamqp/Main.java @@ -45,7 +45,7 @@ public final class Main { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/basic/tcp-client-server/README.md b/basic/tcp-client-server/README.md index d76e71e3..bba7755d 100644 --- a/basic/tcp-client-server/README.md +++ b/basic/tcp-client-server/README.md @@ -32,7 +32,7 @@ Alternatively, you can also execute the **Main** method in class *org.springfram TCP-Client-Server Sample! For more information please visit: - http://www.springintegration.org/ + https://www.springsource.org/spring-integration/ ========================================================= Detect open server socket...using port 5680 @@ -141,12 +141,12 @@ You can run the example by executing JUnit test **TcpServerCustomSerializerTest* A simple client server test using entirely annotation-based configuration is shown in **TcpClientServerAnnotationDemoTest**. -[ByteArrayCrLfSerializer]: http://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayCrLfSerializer.html -[ByteArrayStxEtxSerializer]: http://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayStxEtxSerializer.html -[control character]: http://en.wikipedia.org/wiki/Control_character -[Conversion Service]: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/convert/ConversionService.html -[CRLF]: http://en.wikipedia.org/wiki/Newline -[Deserializer]: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Deserializer.html -[Serializer]: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Serializer.html -[Telnet]: http://en.wikipedia.org/wiki/Telnet -[Transmission Control Protocol]: http://en.wikipedia.org/wiki/Transmission_Control_Protocol +[ByteArrayCrLfSerializer]: https://docs.spring.io/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayCrLfSerializer.html +[ByteArrayStxEtxSerializer]: https://docs.spring.io/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayStxEtxSerializer.html +[control character]: https://en.wikipedia.org/wiki/Control_character +[Conversion Service]: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/convert/ConversionService.html +[CRLF]: https://en.wikipedia.org/wiki/Newline +[Deserializer]: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/serializer/Deserializer.html +[Serializer]: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/serializer/Serializer.html +[Telnet]: https://en.wikipedia.org/wiki/Telnet +[Transmission Control Protocol]: https://en.wikipedia.org/wiki/Transmission_Control_Protocol diff --git a/basic/tcp-client-server/src/main/java/org/springframework/integration/samples/tcpclientserver/Main.java b/basic/tcp-client-server/src/main/java/org/springframework/integration/samples/tcpclientserver/Main.java index a256c9d9..ca5874e2 100644 --- a/basic/tcp-client-server/src/main/java/org/springframework/integration/samples/tcpclientserver/Main.java +++ b/basic/tcp-client-server/src/main/java/org/springframework/integration/samples/tcpclientserver/Main.java @@ -72,7 +72,7 @@ public final class Main { + "\n TCP-Client-Server Sample! " + "\n " + "\n For more information please visit: " - + "\n http://www.springintegration.org/ " + + "\n https://www.springsource.org/spring-integration/ " + "\n " + "\n========================================================="); diff --git a/basic/tcp-client-server/src/test/java/org/springframework/integration/samples/tcpclientserver/TcpServerConnectionDeserializeTest.java b/basic/tcp-client-server/src/test/java/org/springframework/integration/samples/tcpclientserver/TcpServerConnectionDeserializeTest.java index 1740c93f..827e8c30 100644 --- a/basic/tcp-client-server/src/test/java/org/springframework/integration/samples/tcpclientserver/TcpServerConnectionDeserializeTest.java +++ b/basic/tcp-client-server/src/test/java/org/springframework/integration/samples/tcpclientserver/TcpServerConnectionDeserializeTest.java @@ -115,7 +115,7 @@ public class TcpServerConnectionDeserializeTest { * Show, explicitly, how the stream would look if you had to manually create it. * * See more about TCP synchronous communication for more about framing the stream - * with STX/ETX: http://en.wikipedia.org/wiki/Binary_Synchronous_Communications + * with STX/ETX: https://en.wikipedia.org/wiki/Binary_Synchronous_Communications * * @param content * @return a string that is wrapped with the STX/ETX framing bytes diff --git a/basic/testing-examples/src/main/java/org/springframework/integration/samples/testing/externalgateway/WeatherMarshaller.java b/basic/testing-examples/src/main/java/org/springframework/integration/samples/testing/externalgateway/WeatherMarshaller.java index 3c931962..2ccdbc93 100644 --- a/basic/testing-examples/src/main/java/org/springframework/integration/samples/testing/externalgateway/WeatherMarshaller.java +++ b/basic/testing-examples/src/main/java/org/springframework/integration/samples/testing/externalgateway/WeatherMarshaller.java @@ -85,7 +85,7 @@ public class WeatherMarshaller implements Marshaller, Unmarshaller, Initializing public void marshal(Object zip, Result result) throws IOException, XmlMappingException { - String xmlString = "" + + String xmlString = "" + " " + zip + "" + ""; try { @@ -115,16 +115,16 @@ public class WeatherMarshaller implements Marshaller, Unmarshaller, Initializing xformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes"); xformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); xformer.setOutputProperty(OutputKeys.INDENT, "yes"); - xformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", String.valueOf(2)); + xformer.setOutputProperty("{https://xml.apache.org/xslt}indent-amount", String.valueOf(2)); } catch (Exception ex) { throw new IllegalStateException(ex); } xformer.setOutputProperty(OutputKeys.INDENT, "yes"); - xformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4"); + xformer.setOutputProperty("{https://xml.apache.org/xslt}indent-amount", "4"); return xformer; } public void afterPropertiesSet() throws Exception { - namespacePrefixes.put("p", "http://ws.cdyne.com/WeatherWS/"); + namespacePrefixes.put("p", "https://ws.cdyne.com/WeatherWS/"); } } diff --git a/basic/twitter/README.md b/basic/twitter/README.md index 3e92bf02..8f4fded1 100644 --- a/basic/twitter/README.md +++ b/basic/twitter/README.md @@ -12,7 +12,7 @@ In order to run this sample you need to configure [OAuth][] and set the values i To use [OAuth][] authentication/authorization with Twitter you must create a new Application on the Twitter Developers site. Follow the directions below to create a new application and obtain the consumer keys and the access token: -* Go to [http://dev.twitter.com/](http://dev.twitter.com/) +* Go to [https://dev.twitter.com/](https://dev.twitter.com/) * Log in to your account * Go to *My applications*. * Click on 'Create a new application' link and fill out all required fields on the form provided; @@ -35,4 +35,4 @@ NOTE: the above values are not real ;) Now you are ready to execute the samples. Just run each sample and look for the output produced by the inbound adapters (**TwitterSearchSample.java** and **TwitterTimelineUpdateSample.java**) The outbound adapter sample (**TwitterSendUpdatesSample.java**) will not produce any output. Instead within seconds you should see your tweet. -[OAuth]: http://en.wikipedia.org/wiki/OAuth \ No newline at end of file +[OAuth]: https://en.wikipedia.org/wiki/OAuth \ No newline at end of file diff --git a/basic/web-sockets/src/main/resources/static/sockjs.js b/basic/web-sockets/src/main/resources/static/sockjs.js index e3698041..6943b273 100644 --- a/basic/web-sockets/src/main/resources/static/sockjs.js +++ b/basic/web-sockets/src/main/resources/static/sockjs.js @@ -1,4 +1,4 @@ -/* SockJS client, version 0.3.4, http://sockjs.org, MIT License +/* SockJS client, version 0.3.4, https://github.com/sockjs/sockjs-client, MIT License Copyright (c) 2011-2012 VMware, Inc. diff --git a/basic/ws-inbound-gateway/README.md b/basic/ws-inbound-gateway/README.md index 8c7d9b69..265fd7f7 100644 --- a/basic/ws-inbound-gateway/README.md +++ b/basic/ws-inbound-gateway/README.md @@ -12,4 +12,4 @@ To use the *Gateway*, you can run the tests that are located within the **src/te -[Spring Web Services]: http://www.springsource.org/spring-web-services \ No newline at end of file +[Spring Web Services]: https://www.springsource.org/spring-web-services \ No newline at end of file diff --git a/basic/ws-outbound-gateway/README.md b/basic/ws-outbound-gateway/README.md index 954cf268..63802fe7 100644 --- a/basic/ws-outbound-gateway/README.md +++ b/basic/ws-outbound-gateway/README.md @@ -15,13 +15,13 @@ A very simple example that show you how easy it is to invoke a service based on Fahrenheit (90F) to Celsius (32.2C) and the result is printed to the console: ```` -32.2222222222222```` +32.2222222222222```` ## Running the Sample To run the sample simply execute **WebServiceDemoTestApp** in package *org.springframework.integration.samples.ws*. -You can also execute that class using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html): +You can also execute that class using the [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html): $ gradlew :ws-outbound-gateway:run -[Simple Object Access Protocol]: http://en.wikipedia.org/wiki/SOAP +[Simple Object Access Protocol]: https://en.wikipedia.org/wiki/SOAP diff --git a/basic/ws-outbound-gateway/src/main/java/org/springframework/integration/samples/ws/WebServiceDemoTestApp.java b/basic/ws-outbound-gateway/src/main/java/org/springframework/integration/samples/ws/WebServiceDemoTestApp.java index 5dbfaee2..5ea248ad 100644 --- a/basic/ws-outbound-gateway/src/main/java/org/springframework/integration/samples/ws/WebServiceDemoTestApp.java +++ b/basic/ws-outbound-gateway/src/main/java/org/springframework/integration/samples/ws/WebServiceDemoTestApp.java @@ -39,7 +39,7 @@ public class WebServiceDemoTestApp { // Compose the XML message according to the server's schema String requestXml = - "" + + "" + "90.0" + ""; diff --git a/basic/xml/README.md b/basic/xml/README.md index 0c1f59b1..04f38380 100644 --- a/basic/xml/README.md +++ b/basic/xml/README.md @@ -11,7 +11,7 @@ This example demonstrates the following aspects of the [Extensible Markup Langua ## Running the Sample To run the sample, execute the class **org.springframework.integration.samples.xml.BookOrderProcessingTestApp**. -Alternatively, you can run the sample using [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html) by executing: +Alternatively, you can run the sample using [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html) by executing: $ gradlew :xml:run @@ -35,6 +35,6 @@ You should see the following output: -[Extensible Markup Language]: http://en.wikipedia.org/wiki/XML -[XPath]: http://en.wikipedia.org/wiki/XPath -[XSLT]: http://en.wikipedia.org/wiki/XSLT +[Extensible Markup Language]: https://en.wikipedia.org/wiki/XML +[XPath]: https://en.wikipedia.org/wiki/XPath +[XSLT]: https://en.wikipedia.org/wiki/XSLT diff --git a/basic/xmpp/README.md b/basic/xmpp/README.md index dc11c3e7..5e85e6f0 100644 --- a/basic/xmpp/README.md +++ b/basic/xmpp/README.md @@ -18,5 +18,5 @@ You'll also need to test it with your friend or have two Google accounts setup. To test **SendInstantMessageSample.java**, first log on to the account identified via **send.to.user** property and make sure that that account is in your buddy list. Then run the demo. To test **ReceiveInstantMessageSample.java**, first log on to the account identified via **send.to.user** property. Then run the demo. Now any instant messages sent to your account appear in the console. -[Google Talk]: http://www.google.com/talk/ -[Extensible Messaging and Presence Protocol]: http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol \ No newline at end of file +[Google Talk]: https://www.google.com/talk/ +[Extensible Messaging and Presence Protocol]: https://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol \ No newline at end of file diff --git a/dsl/cafe-dsl/README.md b/dsl/cafe-dsl/README.md index f2e3ec0a..6031cfc2 100644 --- a/dsl/cafe-dsl/README.md +++ b/dsl/cafe-dsl/README.md @@ -1,7 +1,7 @@ # Cafe Demo: Spring Integration Java DSL This sample demonstrates the classical Cafe Demo, but it is based on [Spring Integration Java DSL](https://github.com/spring-projects/spring-integration-extensions/wiki/Spring-Integration-Java-DSL-Reference) - and [Spring Boot](http://projects.spring.io/spring-boot). + and [Spring Boot](https://projects.spring.io/spring-boot). See the `cafe` project **README.md** for more details about the domain and the Cafe algorithm. diff --git a/dsl/kafka-dsl/README.md b/dsl/kafka-dsl/README.md index 07e7aace..5a1116a9 100644 --- a/dsl/kafka-dsl/README.md +++ b/dsl/kafka-dsl/README.md @@ -9,7 +9,7 @@ Start Apache Zookeeper and Apache Kafka according to the documentation for the A $ gradlew :kafka:run -This will package the application and run it using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html) +This will package the application and run it using the [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html) #### Using an IDE such as SpringSource Tool Suite™ (STS) diff --git a/dsl/si4demo/README.md b/dsl/si4demo/README.md index 56abb593..269466a2 100644 --- a/dsl/si4demo/README.md +++ b/dsl/si4demo/README.md @@ -25,7 +25,7 @@ In both cases, you can use Telnet or curl to search twitter The DSL version also accepts typing in a hashtag for the search in the console. The DSL version also adds a filter to only allow hashtags starting with `#spring`, and only returns the first tweet. -Twitter now requires authentication to perform searches; visit the [twitter developer site](http://dev.twitter.com) to set up the application and enter the keys/secrets in _application.yml_ on the classpath. An 'empty' yaml file is provided in _src/main/resources: +Twitter now requires authentication to perform searches; visit the [twitter developer site](https://dev.twitter.com) to set up the application and enter the keys/secrets in _application.yml_ on the classpath. An 'empty' yaml file is provided in _src/main/resources: twitter: oauth: diff --git a/intermediate/README.md b/intermediate/README.md index 4aebbe7b..97c69054 100644 --- a/intermediate/README.md +++ b/intermediate/README.md @@ -1,6 +1,6 @@ Intermediate Samples ==================== -This category targets developers who are already familiar with the [Spring Integration](http://www.springsource.org/spring-integration) framework (past getting started), but need some more guidance while resolving more advanced technical problems that they have to deal with once having switched to a Messaging architecture. +This category targets developers who are already familiar with the [Spring Integration](https://www.springsource.org/spring-integration) framework (past getting started), but need some more guidance while resolving more advanced technical problems that they have to deal with once having switched to a Messaging architecture. For example; If you are looking for an answer on how to handle errors in various scenarios or how to properly configure the **Aggregator** for the situations where some messages might not ever arrive for aggregation etc., and any other issue that goes beyond a basic understanding and configuration of a particular component and addresses "what else you can do with it" type of problem, this would be the right place to find these type of samples. diff --git a/intermediate/dynamic-poller/README.md b/intermediate/dynamic-poller/README.md index e9bd0a00..cb8a30a6 100644 --- a/intermediate/dynamic-poller/README.md +++ b/intermediate/dynamic-poller/README.md @@ -12,7 +12,7 @@ When changing the polling period, the change to the trigger will occur after the You can run the application by either: * running the "Main" class from within STS (Right-click on Main class --> Run As --> Java Application) -* or from the command line using the [Gradle](http://www.gradle.org): +* or from the command line using the [Gradle](https://www.gradle.org): $ gradlew :dynamic-poller:runHelloWorldApp @@ -24,7 +24,7 @@ You should see output like the following: Welcome to the Spring Integration Dynamic Poller Sample! For more information please visit: - http://www.springsource.org/spring-integration + https://www.springsource.org/spring-integration ========================================================== INFO : org.springframework.integration.samples.poller.Main - diff --git a/intermediate/dynamic-poller/src/main/java/org/springframework/integration/samples/poller/Main.java b/intermediate/dynamic-poller/src/main/java/org/springframework/integration/samples/poller/Main.java index c052f8bb..a97be1a8 100644 --- a/intermediate/dynamic-poller/src/main/java/org/springframework/integration/samples/poller/Main.java +++ b/intermediate/dynamic-poller/src/main/java/org/springframework/integration/samples/poller/Main.java @@ -50,7 +50,7 @@ public final class Main { + "\n Welcome to the Spring Integration Dynamic Poller Sample! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================="); diff --git a/intermediate/mail-attachments/README.md b/intermediate/mail-attachments/README.md index f13caa24..cd86318f 100644 --- a/intermediate/mail-attachments/README.md +++ b/intermediate/mail-attachments/README.md @@ -13,10 +13,10 @@ This example demonstrates how emails including their attachments can be processe # Getting Started -In order to use this sample you must have access to a mail-server. You can either use an external server (e.g. GMail) or you can also easily setup your own mail server using Apache James 3.0 (http://james.apache.org/). You can find instructions for setting up a basic instance at: +In order to use this sample you must have access to a mail-server. You can either use an external server (e.g. GMail) or you can also easily setup your own mail server using Apache James 3.0 (https://james.apache.org/). You can find instructions for setting up a basic instance at: -* http://james.apache.org/server/3/quick-start.html -* http://hillert.blogspot.com/2011/05/testing-email-notifications-with-apache.html +* https://james.apache.org/server/3/quick-start.html +* https://hillert.blogspot.com/2011/05/testing-email-notifications-with-apache.html In **src/main/resources/META-INF/spring/integration/spring-integration-context.xml** change the following to reflect the settings for your mail server. @@ -37,5 +37,5 @@ Once started, the configured mail server will be polled for new email messages e For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration diff --git a/intermediate/mail-attachments/src/main/java/org/springframework/integration/samples/mailattachments/Main.java b/intermediate/mail-attachments/src/main/java/org/springframework/integration/samples/mailattachments/Main.java index bea94ca1..8ce7ae13 100644 --- a/intermediate/mail-attachments/src/main/java/org/springframework/integration/samples/mailattachments/Main.java +++ b/intermediate/mail-attachments/src/main/java/org/springframework/integration/samples/mailattachments/Main.java @@ -52,7 +52,7 @@ public final class Main { + "\n Welcome to Spring Integration! " + "\n" + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n" + HORIZONTAL_LINE ); diff --git a/intermediate/monitoring/README.md b/intermediate/monitoring/README.md index b4d4018e..1d9350fc 100644 --- a/intermediate/monitoring/README.md +++ b/intermediate/monitoring/README.md @@ -54,7 +54,7 @@ However, you will need to configure OAuth and set the values in the OAuth proper To use OAuth authentication/authorization with Twitter you must create a new Application on the Twitter Developer's site. Follow the directions below to create a new application and obtain the consumer keys and the access token: -* Go to [http://dev.twitter.com/](http://dev.twitter.com/) +* Go to [https://dev.twitter.com/](https://dev.twitter.com/) * Log in to your account * Go to *My applications*. * Click on 'Create a new application' link and fill out all required fields on the form provided; @@ -80,8 +80,8 @@ NOTE: the above values are samples only. For help please see the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration -[MBeans]: http://docs.oracle.com/javase/tutorial/jmx/mbeans/index.html -[SpringSource Developer YouTube Channel]: http://www.youtube.com/SpringSourceDev -[VisualVM]: http://visualvm.java.net/ +[MBeans]: https://docs.oracle.com/javase/tutorial/jmx/mbeans/index.html +[SpringSource Developer YouTube Channel]: https://www.youtube.com/SpringSourceDev +[VisualVM]: https://visualvm.java.net/ diff --git a/intermediate/monitoring/src/main/java/org/springintegration/service/impl/DefaultTwitterService.java b/intermediate/monitoring/src/main/java/org/springintegration/service/impl/DefaultTwitterService.java index 5a49a64f..bf444389 100644 --- a/intermediate/monitoring/src/main/java/org/springintegration/service/impl/DefaultTwitterService.java +++ b/intermediate/monitoring/src/main/java/org/springintegration/service/impl/DefaultTwitterService.java @@ -59,7 +59,7 @@ public class DefaultTwitterService implements TwitterService { private IntegrationMBeanExporter exporter; /** * Constructor that initializes the 'twitterMessages' Map as a simple LRU - * cache. @See http://blogs.oracle.com/swinger/entry/collections_trick_i_lru_cache + * cache. @See https://blogs.oracle.com/swinger/entry/collections_trick_i_lru_cache */ public DefaultTwitterService() { diff --git a/intermediate/monitoring/src/main/webapp/js/jquery-1.6.1.min.js b/intermediate/monitoring/src/main/webapp/js/jquery-1.6.1.min.js index 4155bce9..3afb8878 100644 --- a/intermediate/monitoring/src/main/webapp/js/jquery-1.6.1.min.js +++ b/intermediate/monitoring/src/main/webapp/js/jquery-1.6.1.min.js @@ -1,13 +1,13 @@ /*! * jQuery JavaScript Library v1.6.1 - * http://jquery.com/ + * https://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license + * https://jquery.org/license * * Includes Sizzle.js - * http://sizzlejs.com/ + * https://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * diff --git a/intermediate/monitoring/src/main/webapp/js/jquery.periodicalupdater.js b/intermediate/monitoring/src/main/webapp/js/jquery.periodicalupdater.js index f0a2f0e1..716868c1 100644 --- a/intermediate/monitoring/src/main/webapp/js/jquery.periodicalupdater.js +++ b/intermediate/monitoring/src/main/webapp/js/jquery.periodicalupdater.js @@ -1,17 +1,17 @@ /** * PeriodicalUpdater - jQuery plugin for timed, decaying ajax calls * - * http://www.360innovate.co.uk/blog/2009/03/periodicalupdater-for-jquery/ + * https://www.360innovate.co.uk/blog/2009/03/periodicalupdater-for-jquery/ * http://enfranchisedmind.com/blog/posts/jquery-periodicalupdater-ajax-polling/ * * Copyright (c) 2009 by the following: - * Frank White (http://customcode.info) - * Robert Fischer (http://smokejumperit.com) - * 360innovate (http://www.360innovate.co.uk) + * Frank White (https://customcode.info) + * Robert Fischer (https://blog.enfranchisedmind.com/posts/author/candide/?coming_from=smokejumperit.com) + * 360innovate (https://www.360innovate.co.uk) * * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html + * https://www.opensource.org/licenses/mit-license.php + * https://www.gnu.org/licenses/gpl.html * */ diff --git a/intermediate/rest-http/readme.md b/intermediate/rest-http/readme.md index a60b5a21..d8df0ff3 100644 --- a/intermediate/rest-http/readme.md +++ b/intermediate/rest-http/readme.md @@ -77,11 +77,11 @@ The REST Endpoint is using [Spring Security][]. The security credentials are: They are stored in `src/main/resources/users.properties`. -[Apache Tomcat]: http://tomcat.apache.org/ -[cURL]: http://en.wikipedia.org/wiki/CURL -[Jetty]: http://www.eclipse.org/jetty/ -[JUnit]: http://junit.org/ -[Gradle]: http://www.gradle.org -[RestTemplate]: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html -[Spring Security]: http://www.springsource.org/spring-security -[Spring Tool Suite]: http://www.springsource.org/sts +[Apache Tomcat]: https://tomcat.apache.org/ +[cURL]: https://en.wikipedia.org/wiki/CURL +[Jetty]: https://www.eclipse.org/jetty/ +[JUnit]: https://junit.org/ +[Gradle]: https://www.gradle.org +[RestTemplate]: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html +[Spring Security]: https://www.springsource.org/spring-security +[Spring Tool Suite]: https://www.springsource.org/sts diff --git a/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/JaxbJacksonObjectMapper.java b/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/JaxbJacksonObjectMapper.java index 8aa73457..28aaeeb3 100644 --- a/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/JaxbJacksonObjectMapper.java +++ b/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/JaxbJacksonObjectMapper.java @@ -25,7 +25,7 @@ import com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector; * JaxbJacksonObjectMapper.java: This is the custom JAXB JSON ObjectMapper *

* NOTE: The source code is provided by Gunnar Hillert in his blog posted at - * http://hillert.blogspot.com/2011/01/marshal-json-data-using-jackson-in.html. + * https://hillert.blogspot.com/2011/01/marshal-json-data-using-jackson-in.html. * I modified a little bit to use the latest {@link DeserializationConfig} API * instead of deprecated ones. *

diff --git a/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/view/ExtendedMappingJacksonJsonView.java b/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/view/ExtendedMappingJacksonJsonView.java index d1af7681..fa1b78bf 100644 --- a/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/view/ExtendedMappingJacksonJsonView.java +++ b/intermediate/rest-http/src/main/java/org/springframework/integration/samples/rest/json/view/ExtendedMappingJacksonJsonView.java @@ -23,7 +23,7 @@ import org.springframework.web.servlet.view.json.MappingJackson2JsonView; * ExtendedMappingJacksonJsonView.java: This class extends the Spring's MappingJacksonJsonView *

* Note: The source code for this class is taken from the forum posted by AhungerArtist - * at http://forum.springsource.org/archive/index.php/t-84006.html + * at https://forum.spring.io/archive/index.php/t-84006.html *

* @author Vigil Bose * @author Gary Russell diff --git a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/CircuitBreakerDemo.java b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/CircuitBreakerDemo.java index 5d19e9eb..3fc7443c 100644 --- a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/CircuitBreakerDemo.java +++ b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/CircuitBreakerDemo.java @@ -36,7 +36,7 @@ public class CircuitBreakerDemo { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferDeleteAfterSuccessDemo.java b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferDeleteAfterSuccessDemo.java index c008e926..1c6c0436 100644 --- a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferDeleteAfterSuccessDemo.java +++ b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferDeleteAfterSuccessDemo.java @@ -43,7 +43,7 @@ public class FileTransferDeleteAfterSuccessDemo { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferRenameAfterFailureDemo.java b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferRenameAfterFailureDemo.java index c96fa24c..db21e953 100644 --- a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferRenameAfterFailureDemo.java +++ b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/FileTransferRenameAfterFailureDemo.java @@ -41,7 +41,7 @@ public class FileTransferRenameAfterFailureDemo { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatefulRetryDemo.java b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatefulRetryDemo.java index 705de95f..9e222e4b 100644 --- a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatefulRetryDemo.java +++ b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatefulRetryDemo.java @@ -36,7 +36,7 @@ public class StatefulRetryDemo { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatelessRetryDemo.java b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatelessRetryDemo.java index 345cf221..b6b52f36 100644 --- a/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatelessRetryDemo.java +++ b/intermediate/retry-and-more/src/main/java/org/springframework/integration/samples/advice/StatelessRetryDemo.java @@ -36,7 +36,7 @@ public class StatelessRetryDemo { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/splitter-aggregator-reaper/README.md b/intermediate/splitter-aggregator-reaper/README.md index 482d93fc..fa4919e0 100644 --- a/intermediate/splitter-aggregator-reaper/README.md +++ b/intermediate/splitter-aggregator-reaper/README.md @@ -20,7 +20,7 @@ You should see the following output: Welcome to Spring Integration! For more information please visit: - http://www.springsource.org/spring-integration + https://www.springsource.org/spring-integration ========================================================= 13:47:56.039 INFO [main][org.springframework.integration.store.MessageGroupStoreReaper] started org.springframework.integration.store.MessageGroupStoreReaper@4b85c17 @@ -36,15 +36,15 @@ You should see the following output: # Credits -We would like to thank Christopher Hunt ([@huntchr](http://twitter.com/huntchr)) for contributing this sample. +We would like to thank Christopher Hunt ([@huntchr](https://twitter.com/huntchr)) for contributing this sample. -------------------------------------------------------------------------------- For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration -[aggregating]: http://static.springsource.org/spring-integration/reference/html/messaging-routing-chapter.html#aggregator -[Enterprise Integration Patterns]: http://www.eaipatterns.com/ -[message store reaper]: http://static.springsource.org/spring-integration/reference/html/messaging-routing-chapter.html#aggregator-config -[splitting]: http://static.springsource.org/spring-integration/reference/html/messaging-routing-chapter.html#splitter +[aggregating]: https://docs.spring.io/spring-integration/reference/html/messaging-routing-chapter.html#aggregator +[Enterprise Integration Patterns]: https://www.enterpriseintegrationpatterns.com/ +[message store reaper]: https://docs.spring.io/spring-integration/reference/html/messaging-routing-chapter.html#aggregator-config +[splitting]: https://docs.spring.io/spring-integration/reference/html/messaging-routing-chapter.html#splitter diff --git a/intermediate/splitter-aggregator-reaper/src/main/java/org/springframework/integration/samples/splitteraggregator/Main.java b/intermediate/splitter-aggregator-reaper/src/main/java/org/springframework/integration/samples/splitteraggregator/Main.java index 81d6742f..e5eadff6 100644 --- a/intermediate/splitter-aggregator-reaper/src/main/java/org/springframework/integration/samples/splitteraggregator/Main.java +++ b/intermediate/splitter-aggregator-reaper/src/main/java/org/springframework/integration/samples/splitteraggregator/Main.java @@ -51,7 +51,7 @@ public final class Main { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/stored-procedures-derby/README.md b/intermediate/stored-procedures-derby/README.md index f68ab98a..2221549c 100644 --- a/intermediate/stored-procedures-derby/README.md +++ b/intermediate/stored-procedures-derby/README.md @@ -26,5 +26,5 @@ Just make sure you have Gradle set up and that the project builds successfully. For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration diff --git a/intermediate/stored-procedures-derby/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java b/intermediate/stored-procedures-derby/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java index 7b407671..7023a187 100644 --- a/intermediate/stored-procedures-derby/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java +++ b/intermediate/stored-procedures-derby/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java @@ -54,7 +54,7 @@ public final class Main { LOGGER.info(LINE + LINE + "\n Welcome to Spring Integration Coffee Database! " + NEWLINE + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + NEWLINE + LINE); + + "\n https://www.springsource.org/spring-integration " + NEWLINE + LINE); final AbstractApplicationContext context = new ClassPathXmlApplicationContext( "classpath:META-INF/spring/integration/*-context.xml"); diff --git a/intermediate/stored-procedures-ms/README.md b/intermediate/stored-procedures-ms/README.md index 071c9026..512c1a1c 100644 --- a/intermediate/stored-procedures-ms/README.md +++ b/intermediate/stored-procedures-ms/README.md @@ -13,15 +13,15 @@ Access to a *Microsoft SQL Server* or *Microsoft SQL Server Express* database in This sample was tested against: **Microsoft SQL Server 2008 R2 RTM - Express** (Which can be downloaded and used for free). The sample should also work for newer versions (including the full version) of *Microsoft SQL Server*. You can download *Microsoft SQL Server Express 2008: SQL Server Express*: -* [http://www.microsoft.com/en-us/download/details.aspx?id=23650](http://www.microsoft.com/en-us/download/details.aspx?id=23650) +* [https://www.microsoft.com/en-us/download/details.aspx?id=23650](https://www.microsoft.com/en-us/download/details.aspx?id=23650) If you have trouble accessing a remote instance of *Microsoft SQL Server Express*, see: -* [http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#method2](http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#method2) +* [https://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#method2](https://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#method2) ## JDBC Driver -This sample uses the [jTDS](http://jtds.sourceforge.net) driver, which is considered to be faster than [Microsoft's JDBC driver](http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx). Nevertheless, the sample should work with either driver. +This sample uses the [jTDS](http://jtds.sourceforge.net) driver, which is considered to be faster than [Microsoft's JDBC driver](https://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx). Nevertheless, the sample should work with either driver. #### Creating the Stored Procedure @@ -117,5 +117,5 @@ You may have to update the *Microsoft SQL Server* properties in: For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration diff --git a/intermediate/stored-procedures-ms/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java b/intermediate/stored-procedures-ms/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java index 678af827..e51cf9f7 100644 --- a/intermediate/stored-procedures-ms/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java +++ b/intermediate/stored-procedures-ms/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java @@ -51,7 +51,7 @@ public final class Main { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/stored-procedures-oracle/README.md b/intermediate/stored-procedures-oracle/README.md index a5956cc7..22b1b78f 100644 --- a/intermediate/stored-procedures-oracle/README.md +++ b/intermediate/stored-procedures-oracle/README.md @@ -22,7 +22,7 @@ Nevertheless, the example should work with other versions as well. ### JDBC Driver Installation for Oracle -- Go to [http://www.oracle.com/technetwork/indexes/downloads/index.html](http://www.oracle.com/technetwork/indexes/downloads/index.html) +- Go to [https://www.oracle.com/technetwork/indexes/downloads/index.html](https://www.oracle.com/technetwork/indexes/downloads/index.html) - Under "JDBC Drivers", download the appropriate driver relevant to your Oracle and JDK version (This sample was tested using "Oracle Database 11g Release 2 JDBC Drivers") - Once downloaded, install the driver to your local Maven repository: @@ -30,7 +30,7 @@ Nevertheless, the example should work with other versions as well. - Now you can uncomment the `ojdbc6` dependency in the build.gradle file for `stored-procedures-oracle` project. -After that you can run the sample application using [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html): +After that you can run the sample application using [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html): $ gradlew :stored-procedures-oracle:run @@ -127,7 +127,7 @@ You should see the following output: Stored Procedure/Function Sample for Oracle For more information please visit: - http://www.springsource.org/spring-integration + https://www.springsource.org/spring-integration ========================================================= Please enter a choice and press : @@ -222,7 +222,7 @@ You should see the following output: Stored Procedure/Function Sample for Oracle For more information please visit: - http://www.springsource.org/spring-integration + https://www.springsource.org/spring-integration ========================================================= Please enter a choice and press : @@ -246,6 +246,6 @@ This sample also periodically polls the Oracle database using a **Stored Procedu For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration [Stored Procedure Sample for PostgreSql]: https://github.com/ghillert/spring-integration-samples/tree/master/intermediate/stored-procedures-postgresql diff --git a/intermediate/stored-procedures-oracle/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java b/intermediate/stored-procedures-oracle/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java index be243770..b565ee1c 100644 --- a/intermediate/stored-procedures-oracle/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java +++ b/intermediate/stored-procedures-oracle/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java @@ -56,7 +56,7 @@ public final class Main { + "\n Stored Procedure/Function Sample for Oracle " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" ); diff --git a/intermediate/stored-procedures-postgresql/README.md b/intermediate/stored-procedures-postgresql/README.md index 9d9e0f5a..4b061326 100644 --- a/intermediate/stored-procedures-postgresql/README.md +++ b/intermediate/stored-procedures-postgresql/README.md @@ -85,5 +85,5 @@ Please configure the necessary credentials in order to connect to your database For help please take a look at the Spring Integration documentation: -http://www.springsource.org/spring-integration +https://www.springsource.org/spring-integration diff --git a/intermediate/stored-procedures-postgresql/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java b/intermediate/stored-procedures-postgresql/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java index f24fabbe..78e1f8ce 100644 --- a/intermediate/stored-procedures-postgresql/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java +++ b/intermediate/stored-procedures-postgresql/src/main/java/org/springframework/integration/samples/storedprocedure/Main.java @@ -56,7 +56,7 @@ public class Main { + "\n Welcome to Spring Integration Coffee Database! " + NEWLINE + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + NEWLINE + LINE ); diff --git a/intermediate/travel/README.md b/intermediate/travel/README.md index cc22b6d3..2902b89a 100644 --- a/intermediate/travel/README.md +++ b/intermediate/travel/README.md @@ -40,14 +40,14 @@ Here you see, we are using *Spring Expression Language* (SpEL) to bind the value ## MapQuest -This sample uses the [MapQuest API][], specifically the [MapQuest Traffic Web Service][]. As such you must setup an API Key. Therefore, please create a MapQuest developer account. This can be done at: http://developer.mapquest.com/. +This sample uses the [MapQuest API][], specifically the [MapQuest Traffic Web Service][]. As such you must setup an API Key. Therefore, please create a MapQuest developer account. This can be done at: https://developer.mapquest.com/. -¡**Important**! - Please be aware that the API key you received from MapQuest is URL encoded. As such you must decode the key, so you can use it with Spring Integration. For example you can use the service on the following site to decode the API key: http://meyerweb.com/eric/tools/dencoder/ +¡**Important**! - Please be aware that the API key you received from MapQuest is URL encoded. As such you must decode the key, so you can use it with Spring Integration. For example you can use the service on the following site to decode the API key: https://meyerweb.com/eric/tools/dencoder/ ## Running the Sample To run the sample execute **Main** in package **org.springframework.integration.samples.travel**. -You can also execute that class using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html): +You can also execute that class using the [Gradle Application Plugin](https://www.gradle.org/docs/current/userguide/application_plugin.html): $ gradlew :travel:run -Dmapquest.apikey="your_mapquest_api_key_url_decoded" @@ -58,7 +58,7 @@ You should see the following output: Welcome to the Spring Integration Travel App! For more information please visit: - http://www.springintegration.org/ + https://www.springsource.org/spring-integration/ ========================================================= Please select the city, for which you would like to get traffic and weather information: @@ -76,8 +76,8 @@ You should see the following output: * Added support for multiple cities (Atlanta, Boston, San Francisco) -[MapQuest API]: http://www.mapquestapi.com/ -[MapQuest Traffic Web Service]: http://platform.beta.mapquest.com/traffic/ +[MapQuest API]: https://www.mapquestapi.com/ +[MapQuest Traffic Web Service]: https://platform.beta.mapquest.com/traffic/ diff --git a/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/Main.java b/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/Main.java index e7421987..82ce75bd 100644 --- a/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/Main.java +++ b/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/Main.java @@ -58,7 +58,7 @@ public final class Main { + "\n Welcome to the Spring Integration Travel App! " + "\n " + "\n For more information please visit: " - + "\n http://www.springintegration.org/ " + + "\n https://www.springsource.org/spring-integration/ " + "\n " + "\n=========================================================" ); diff --git a/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/TravelUtils.java b/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/TravelUtils.java index d68ed49f..fe4e82bf 100644 --- a/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/TravelUtils.java +++ b/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/TravelUtils.java @@ -52,7 +52,7 @@ public final class TravelUtils { transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes"); transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); transformer.setOutputProperty(OutputKeys.INDENT, "yes"); - transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", String.valueOf(2)); + transformer.setOutputProperty("{https://xml.apache.org/xslt}indent-amount", String.valueOf(2)); StreamResult streamResult = new StreamResult(new StringWriter()); Source source = new StringSource(result); transformer.transform(source, streamResult); diff --git a/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/WeatherRequestTransformer.java b/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/WeatherRequestTransformer.java index c233f92f..7d7f6a2f 100644 --- a/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/WeatherRequestTransformer.java +++ b/intermediate/travel/src/main/java/org/springframework/integration/samples/travel/WeatherRequestTransformer.java @@ -18,7 +18,7 @@ package org.springframework.integration.samples.travel; public class WeatherRequestTransformer { public String transform(City city){ - return "" + + return "" + " " + city.getPostalCode() + "" + ""; } diff --git a/intermediate/tx-synch/src/main/java/org/springframework/integration/samples/advice/TransactionSynchronizationDemo.java b/intermediate/tx-synch/src/main/java/org/springframework/integration/samples/advice/TransactionSynchronizationDemo.java index 728b85f9..176fc4cf 100755 --- a/intermediate/tx-synch/src/main/java/org/springframework/integration/samples/advice/TransactionSynchronizationDemo.java +++ b/intermediate/tx-synch/src/main/java/org/springframework/integration/samples/advice/TransactionSynchronizationDemo.java @@ -36,7 +36,7 @@ public class TransactionSynchronizationDemo { + "\n Welcome to Spring Integration! " + "\n " + "\n For more information please visit: " - + "\n http://www.springsource.org/spring-integration " + + "\n https://www.springsource.org/spring-integration " + "\n " + "\n=========================================================" );