URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # HTTP URLs that Could Not Be Fixed These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * [ ] http://blueprintcss.org (200) with 3 occurrences could not be migrated: ([https](https://blueprintcss.org) result AnnotatedConnectException). * [ ] http://jmesnil.net/ (200) with 1 occurrences could not be migrated: ([https](https://jmesnil.net/) result ConnectTimeoutException). * [ ] http://jtds.sourceforge.net (200) with 1 occurrences could not be migrated: ([https](https://jtds.sourceforge.net) result AnnotatedConnectException). * [ ] http://www.jmesnil.net/stomp-websocket/doc/ (301) with 1 occurrences could not be migrated: ([https](https://www.jmesnil.net/stomp-websocket/doc/) result ConnectTimeoutException). * [ ] http://enfranchisedmind.com/blog/posts/jquery-periodicalupdater-ajax-polling/ (404) with 1 occurrences could not be migrated: ([https](https://enfranchisedmind.com/blog/posts/jquery-periodicalupdater-ajax-polling/) result SSLHandshakeException). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://smokejumperit.com (301) with 1 occurrences migrated to: https://blog.enfranchisedmind.com/posts/author/candide/?coming_from=smokejumperit.com ([https](https://smokejumperit.com) result UnknownHostException). * [ ] http://sockjs.org (303) with 2 occurrences migrated to: https://github.com/sockjs/sockjs-client ([https](https://sockjs.org) result AnnotatedConnectException). * [ ] http://platform.beta.mapquest.com/traffic/ (UnknownHostException) with 1 occurrences migrated to: https://platform.beta.mapquest.com/traffic/ ([https](https://platform.beta.mapquest.com/traffic/) result UnknownHostException). * [ ] http://en.wikipedia.org/wiki/Caf%C3%A9 (301) with 1 occurrences migrated to: https://en.wikipedia.org/wiki/Caf%25C3%25A9 ([https](https://en.wikipedia.org/wiki/Caf%C3%A9) result 400). * [ ] http://ws.cdyne.com/WeatherWS/ (403) with 3 occurrences migrated to: https://ws.cdyne.com/WeatherWS/ ([https](https://ws.cdyne.com/WeatherWS/) result 403). * [ ] http://blogs.oracle.com/swinger/entry/collections_trick_i_lru_cache (404) with 1 occurrences migrated to: https://blogs.oracle.com/swinger/entry/collections_trick_i_lru_cache ([https](https://blogs.oracle.com/swinger/entry/collections_trick_i_lru_cache) result 404). * [ ] http://static.springsource.org/spring-integration/docs/latest-ga/reference/html/samples.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring-integration/docs/latest-ga/reference/html/samples.html ([https](https://static.springsource.org/spring-integration/docs/latest-ga/reference/html/samples.html) result 404). * [ ] http://static.springsource.org/spring-integration/reference/html/messaging-routing-chapter.html (301) with 3 occurrences migrated to: https://docs.spring.io/spring-integration/reference/html/messaging-routing-chapter.html ([https](https://static.springsource.org/spring-integration/reference/html/messaging-routing-chapter.html) result 404). * [ ] http://docs.spring.io/spring-integration/reference/html/samples.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring-integration/reference/html/samples.html ([https](https://docs.spring.io/spring-integration/reference/html/samples.html) result 404). * [ ] http://static.springsource.org/spring-integration/reference/htmlsingle/ (301) with 4 occurrences migrated to: https://docs.spring.io/spring-integration/reference/htmlsingle/ ([https](https://static.springsource.org/spring-integration/reference/htmlsingle/) result 404). * [ ] http://xml.apache.org/xslt (404) with 3 occurrences migrated to: https://xml.apache.org/xslt ([https](https://xml.apache.org/xslt) result 404). * [ ] http://customcode.info (503) with 1 occurrences migrated to: https://customcode.info ([https](https://customcode.info) result 503). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://activemq.apache.org/ with 1 occurrences migrated to: https://activemq.apache.org/ ([https](https://activemq.apache.org/) result 200). * [ ] http://db.apache.org/derby/ with 1 occurrences migrated to: https://db.apache.org/derby/ ([https](https://db.apache.org/derby/) result 200). * [ ] http://developer.mapquest.com/ with 1 occurrences migrated to: https://developer.mapquest.com/ ([https](https://developer.mapquest.com/) result 200). * [ ] http://docs.oracle.com/javase/tutorial/jmx/mbeans/index.html with 1 occurrences migrated to: https://docs.oracle.com/javase/tutorial/jmx/mbeans/index.html ([https](https://docs.oracle.com/javase/tutorial/jmx/mbeans/index.html) result 200). * [ ] http://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayCrLfSerializer.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayCrLfSerializer.html ([https](https://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayCrLfSerializer.html) result 200). * [ ] http://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayStxEtxSerializer.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayStxEtxSerializer.html ([https](https://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayStxEtxSerializer.html) result 200). * [ ] http://static.springsource.org/spring-integration/api/org/springframework/integration/store/MessageGroupStoreReaper.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring-integration/api/org/springframework/integration/store/MessageGroupStoreReaper.html ([https](https://static.springsource.org/spring-integration/api/org/springframework/integration/store/MessageGroupStoreReaper.html) result 200). * [ ] http://static.springsource.org/spring-integration/docs/2.2.0.RC3/reference/htmlsingle/ (301) with 2 occurrences migrated to: https://docs.spring.io/spring-integration/docs/2.2.0.RC3/reference/htmlsingle/ ([https](https://static.springsource.org/spring-integration/docs/2.2.0.RC3/reference/htmlsingle/) result 200). * [ ] http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/convert/ConversionService.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/convert/ConversionService.html ([https](https://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/convert/ConversionService.html) result 200). * [ ] http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Deserializer.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/serializer/Deserializer.html ([https](https://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Deserializer.html) result 200). * [ ] http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Serializer.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/serializer/Serializer.html ([https](https://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Serializer.html) result 200). * [ ] http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html (301) with 1 occurrences migrated to: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html ([https](https://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html) result 200). * [ ] http://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol with 1 occurrences migrated to: https://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol ([https](https://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol) result 200). * [ ] http://en.wikipedia.org/wiki/Binary_Synchronous_Communications with 1 occurrences migrated to: https://en.wikipedia.org/wiki/Binary_Synchronous_Communications ([https](https://en.wikipedia.org/wiki/Binary_Synchronous_Communications) result 200). * [ ] http://en.wikipedia.org/wiki/CURL with 1 occurrences migrated to: https://en.wikipedia.org/wiki/CURL ([https](https://en.wikipedia.org/wiki/CURL) result 200). * [ ] http://en.wikipedia.org/wiki/Control_character with 1 occurrences migrated to: https://en.wikipedia.org/wiki/Control_character ([https](https://en.wikipedia.org/wiki/Control_character) result 200). * [ ] http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol with 2 occurrences migrated to: https://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol ([https](https://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol) result 200). * [ ] http://en.wikipedia.org/wiki/Java_Message_Service with 1 occurrences migrated to: https://en.wikipedia.org/wiki/Java_Message_Service ([https](https://en.wikipedia.org/wiki/Java_Message_Service) result 200). * [ ] http://en.wikipedia.org/wiki/Netcat with 2 occurrences migrated to: https://en.wikipedia.org/wiki/Netcat ([https](https://en.wikipedia.org/wiki/Netcat) result 200). * [ ] http://en.wikipedia.org/wiki/Newline with 1 occurrences migrated to: https://en.wikipedia.org/wiki/Newline ([https](https://en.wikipedia.org/wiki/Newline) result 200). * [ ] http://en.wikipedia.org/wiki/OAuth with 1 occurrences migrated to: https://en.wikipedia.org/wiki/OAuth ([https](https://en.wikipedia.org/wiki/OAuth) result 200). * [ ] http://en.wikipedia.org/wiki/SOAP with 1 occurrences migrated to: https://en.wikipedia.org/wiki/SOAP ([https](https://en.wikipedia.org/wiki/SOAP) result 200). * [ ] http://en.wikipedia.org/wiki/Telnet with 2 occurrences migrated to: https://en.wikipedia.org/wiki/Telnet ([https](https://en.wikipedia.org/wiki/Telnet) result 200). * [ ] http://en.wikipedia.org/wiki/Transmission_Control_Protocol with 1 occurrences migrated to: https://en.wikipedia.org/wiki/Transmission_Control_Protocol ([https](https://en.wikipedia.org/wiki/Transmission_Control_Protocol) result 200). * [ ] http://en.wikipedia.org/wiki/XML with 1 occurrences migrated to: https://en.wikipedia.org/wiki/XML ([https](https://en.wikipedia.org/wiki/XML) result 200). * [ ] http://en.wikipedia.org/wiki/XPath with 1 occurrences migrated to: https://en.wikipedia.org/wiki/XPath ([https](https://en.wikipedia.org/wiki/XPath) result 200). * [ ] http://en.wikipedia.org/wiki/XSLT with 1 occurrences migrated to: https://en.wikipedia.org/wiki/XSLT ([https](https://en.wikipedia.org/wiki/XSLT) result 200). * [ ] http://hillert.blogspot.com/2011/01/marshal-json-data-using-jackson-in.html with 1 occurrences migrated to: https://hillert.blogspot.com/2011/01/marshal-json-data-using-jackson-in.html ([https](https://hillert.blogspot.com/2011/01/marshal-json-data-using-jackson-in.html) result 200). * [ ] http://hillert.blogspot.com/2011/05/testing-email-notifications-with-apache.html with 1 occurrences migrated to: https://hillert.blogspot.com/2011/05/testing-email-notifications-with-apache.html ([https](https://hillert.blogspot.com/2011/05/testing-email-notifications-with-apache.html) result 200). * [ ] http://james.apache.org/ with 1 occurrences migrated to: https://james.apache.org/ ([https](https://james.apache.org/) result 200). * [ ] http://james.apache.org/server/3/quick-start.html with 1 occurrences migrated to: https://james.apache.org/server/3/quick-start.html ([https](https://james.apache.org/server/3/quick-start.html) result 200). * [ ] http://jquery.com/ with 1 occurrences migrated to: https://jquery.com/ ([https](https://jquery.com/) result 200). * [ ] http://meyerweb.com/eric/tools/dencoder/ with 1 occurrences migrated to: https://meyerweb.com/eric/tools/dencoder/ ([https](https://meyerweb.com/eric/tools/dencoder/) result 200). * [ ] http://projects.spring.io/spring-integration/ with 2 occurrences migrated to: https://projects.spring.io/spring-integration/ ([https](https://projects.spring.io/spring-integration/) result 200). * [ ] http://sizzlejs.com/ with 1 occurrences migrated to: https://sizzlejs.com/ ([https](https://sizzlejs.com/) result 200). * [ ] http://tomcat.apache.org/ with 1 occurrences migrated to: https://tomcat.apache.org/ ([https](https://tomcat.apache.org/) result 200). * [ ] http://twitter.com/huntchr with 1 occurrences migrated to: https://twitter.com/huntchr ([https](https://twitter.com/huntchr) result 200). * [ ] http://www.360innovate.co.uk with 1 occurrences migrated to: https://www.360innovate.co.uk ([https](https://www.360innovate.co.uk) result 200). * [ ] http://www.amqp.org/ with 1 occurrences migrated to: https://www.amqp.org/ ([https](https://www.amqp.org/) result 200). * [ ] http://tempuri.org/ (302) with 1 occurrences migrated to: https://www.bing.com/ ([https](https://tempuri.org/) result 200). * [ ] http://www.eclipse.org/jetty/ with 1 occurrences migrated to: https://www.eclipse.org/jetty/ ([https](https://www.eclipse.org/jetty/) result 200). * [ ] http://www.eaipatterns.com/ (302) with 2 occurrences migrated to: https://www.enterpriseintegrationpatterns.com/ ([https](https://www.eaipatterns.com/) result 200). * [ ] http://www.eaipatterns.com/gregor.html (302) with 1 occurrences migrated to: https://www.enterpriseintegrationpatterns.com/gregor.html ([https](https://www.eaipatterns.com/gregor.html) result 200). * [ ] http://www.eaipatterns.com/ramblings/18_starbucks.html (302) with 1 occurrences migrated to: https://www.enterpriseintegrationpatterns.com/ramblings/18_starbucks.html ([https](https://www.eaipatterns.com/ramblings/18_starbucks.html) result 200). * [ ] http://www.gnu.org/licenses/gpl.html with 1 occurrences migrated to: https://www.gnu.org/licenses/gpl.html ([https](https://www.gnu.org/licenses/gpl.html) result 200). * [ ] http://fusesource.com (302) with 1 occurrences migrated to: https://www.jboss.org/ ([https](https://fusesource.com) result 200). * [ ] http://www.microsoft.com/en-us/download/details.aspx?id=23650 with 2 occurrences migrated to: https://www.microsoft.com/en-us/download/details.aspx?id=23650 ([https](https://www.microsoft.com/en-us/download/details.aspx?id=23650) result 200). * [ ] http://www.postgresql.org/ with 1 occurrences migrated to: https://www.postgresql.org/ ([https](https://www.postgresql.org/) result 200). * [ ] http://www.rabbitmq.com/ with 6 occurrences migrated to: https://www.rabbitmq.com/ ([https](https://www.rabbitmq.com/) result 200). * [ ] http://www.w3schools.com/xml/ with 1 occurrences migrated to: https://www.w3schools.com/xml/ ([https](https://www.w3schools.com/xml/) result 200). * [ ] http://forum.springsource.org/archive/index.php/t-84006.html (301) with 1 occurrences migrated to: https://forum.spring.io/archive/index.php/t-84006.html ([https](https://forum.springsource.org/archive/index.php/t-84006.html) result 301). * [ ] http://forum.spring.io/forum/spring-projects/integration/117523-starting-multiple-consumers?p=589517 with 1 occurrences migrated to: https://forum.spring.io/forum/spring-projects/integration/117523-starting-multiple-consumers?p=589517 ([https](https://forum.spring.io/forum/spring-projects/integration/117523-starting-multiple-consumers?p=589517) result 301). * [ ] http://forum.spring.io/forum/spring-projects/integration/119081-dynamic-inbound-channel-adapter-creation with 1 occurrences migrated to: https://forum.spring.io/forum/spring-projects/integration/119081-dynamic-inbound-channel-adapter-creation ([https](https://forum.spring.io/forum/spring-projects/integration/119081-dynamic-inbound-channel-adapter-creation) result 301). * [ ] http://jira.springframework.org/browse/ROO-909 with 1 occurrences migrated to: https://jira.springframework.org/browse/ROO-909 ([https](https://jira.springframework.org/browse/ROO-909) result 301). * [ ] http://jquery.org/license with 1 occurrences migrated to: https://jquery.org/license ([https](https://jquery.org/license) result 301). * [ ] http://junit.org/ with 1 occurrences migrated to: https://junit.org/ ([https](https://junit.org/) result 301). * [ ] http://mina.apache.org/sshd-project with 1 occurrences migrated to: https://mina.apache.org/sshd-project ([https](https://mina.apache.org/sshd-project) result 301). * [ ] http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx with 1 occurrences migrated to: https://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx ([https](https://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx) result 301). * [ ] http://projects.spring.io/spring-boot with 1 occurrences migrated to: https://projects.spring.io/spring-boot ([https](https://projects.spring.io/spring-boot) result 301). * [ ] http://springsource.com with 1 occurrences migrated to: https://springsource.com ([https](https://springsource.com) result 301). * [ ] http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277 with 2 occurrences migrated to: https://support.microsoft.com/default.aspx?scid=kb;EN-US;914277 ([https](https://support.microsoft.com/default.aspx?scid=kb;EN-US;914277) result 301). * [ ] http://www.360innovate.co.uk/blog/2009/03/periodicalupdater-for-jquery/ with 1 occurrences migrated to: https://www.360innovate.co.uk/blog/2009/03/periodicalupdater-for-jquery/ ([https](https://www.360innovate.co.uk/blog/2009/03/periodicalupdater-for-jquery/) result 301). * [ ] http://www.eaipatterns.com/eaipatterns.html (302) with 1 occurrences migrated to: https://www.enterpriseintegrationpatterns.com/eaipatterns.html ([https](https://www.eaipatterns.com/eaipatterns.html) result 301). * [ ] http://www.google.com/talk/ with 1 occurrences migrated to: https://www.google.com/talk/ ([https](https://www.google.com/talk/) result 301). * [ ] http://www.gradle.org with 4 occurrences migrated to: https://www.gradle.org ([https](https://www.gradle.org) result 301). * [ ] http://www.gradle.org/docs/current/userguide/application_plugin.html with 10 occurrences migrated to: https://www.gradle.org/docs/current/userguide/application_plugin.html ([https](https://www.gradle.org/docs/current/userguide/application_plugin.html) result 301). * [ ] http://www.gradle.org/docs/current/userguide/jetty_plugin.html with 1 occurrences migrated to: https://www.gradle.org/docs/current/userguide/jetty_plugin.html ([https](https://www.gradle.org/docs/current/userguide/jetty_plugin.html) result 301). * [ ] http://www.mapquestapi.com/ with 1 occurrences migrated to: https://www.mapquestapi.com/ ([https](https://www.mapquestapi.com/) result 301). * [ ] http://www.mongodb.org/display/DOCS/Querying with 1 occurrences migrated to: https://www.mongodb.org/display/DOCS/Querying ([https](https://www.mongodb.org/display/DOCS/Querying) result 301). * [ ] http://www.opensource.org/licenses/mit-license.php with 1 occurrences migrated to: https://www.opensource.org/licenses/mit-license.php ([https](https://www.opensource.org/licenses/mit-license.php) result 301). * [ ] http://www.oracle.com/technetwork/indexes/downloads/index.html with 2 occurrences migrated to: https://www.oracle.com/technetwork/indexes/downloads/index.html ([https](https://www.oracle.com/technetwork/indexes/downloads/index.html) result 301). * [ ] http://www.rabbitmq.com/install.html with 4 occurrences migrated to: https://www.rabbitmq.com/install.html ([https](https://www.rabbitmq.com/install.html) result 301). * [ ] http://www.springsource.org/node/3598 with 1 occurrences migrated to: https://www.springsource.org/node/3598 ([https](https://www.springsource.org/node/3598) result 301). * [ ] http://www.springsource.org/spring-amqp with 4 occurrences migrated to: https://www.springsource.org/spring-amqp ([https](https://www.springsource.org/spring-amqp) result 301). * [ ] http://www.springsource.org/spring-integration with 35 occurrences migrated to: https://www.springsource.org/spring-integration ([https](https://www.springsource.org/spring-integration) result 301). * [ ] http://www.springintegration.org/ (301) with 7 occurrences migrated to: https://www.springsource.org/spring-integration/ ([https](https://www.springintegration.org/) result 301). * [ ] http://www.springsource.org/spring-security with 1 occurrences migrated to: https://www.springsource.org/spring-security ([https](https://www.springsource.org/spring-security) result 301). * [ ] http://www.springsource.org/spring-web-services with 1 occurrences migrated to: https://www.springsource.org/spring-web-services ([https](https://www.springsource.org/spring-web-services) result 301). * [ ] http://www.springsource.org/sts with 1 occurrences migrated to: https://www.springsource.org/sts ([https](https://www.springsource.org/sts) result 301). * [ ] http://www.youtube.com/SpringSourceDev with 2 occurrences migrated to: https://www.youtube.com/SpringSourceDev ([https](https://www.youtube.com/SpringSourceDev) result 301). * [ ] http://dev.twitter.com with 1 occurrences migrated to: https://dev.twitter.com ([https](https://dev.twitter.com) result 302). * [ ] http://dev.twitter.com/ with 4 occurrences migrated to: https://dev.twitter.com/ ([https](https://dev.twitter.com/) result 302). * [ ] http://visualvm.java.net/ with 1 occurrences migrated to: https://visualvm.java.net/ ([https](https://visualvm.java.net/) result 302). * [ ] http://www.springsource.com/developer/sts with 4 occurrences migrated to: https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts) result 302). # Ignored These URLs were intentionally ignored. * http://java.sun.com/JSP/Page with 40 occurrences * http://java.sun.com/jsp/jstl/core with 34 occurrences * http://java.sun.com/jsp/jstl/fmt with 2 occurrences * http://java.sun.com/jsp/jstl/functions with 29 occurrences * http://localhost:8080/broadcast/foo with 2 occurrences * http://localhost:8080/chat with 1 occurrences * http://localhost:8080/foo with 3 occurrences * http://localhost:8080/monitoring with 1 occurrences * http://localhost:8080/multipart-http/inboundAdapter.htm with 1 occurrences * http://localhost:8080/rest-http/services/employee/ with 3 occurrences * http://localhost:8080/rest-http/services/employee/0/search with 1 occurrences * http://localhost:8080/rest-http/services/employee/1/search with 1 occurrences * http://localhost:8080/shutdown with 1 occurrences * http://localhost:8080/sockjs.js with 2 occurrences * http://localhost:8080/stomp.js with 1 occurrences * http://localhost:8080/time with 1 occurrences * http://localhost:8080/ws-inbound-gateway/echoservice with 2 occurrences * http://localhost:8082 with 1 occurrences * http://schemas.xmlsoap.org/soap/envelope/ with 1 occurrences * http://tiles.apache.org/tags-tiles with 1 occurrences * http://www.example.org/orders with 3 occurrences * http://www.example.org/orders-bigbooks with 2 occurrences * http://www.springframework.org/spring-ws/samples/echo with 5 occurrences * http://www.springframework.org/tags with 34 occurrences * http://www.springframework.org/tags/form with 18 occurrences * http://www.w3.org/1999/XSL/Transform with 1 occurrences
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Basic Samples
|
||||
=============
|
||||
|
||||
This is a good place to get started. The samples here are technically motivated and demonstrate the bare minimum with regard to configuration and code to help you to get introduced to the basic concepts, API and configuration of [Spring Integration](http://www.springsource.org/spring-integration) and how they relate to [Enterprise Integration Patterns](http://www.eaipatterns.com/) (EIP).
|
||||
This is a good place to get started. The samples here are technically motivated and demonstrate the bare minimum with regard to configuration and code to help you to get introduced to the basic concepts, API and configuration of [Spring Integration](https://www.springsource.org/spring-integration) and how they relate to [Enterprise Integration Patterns](https://www.enterpriseintegrationpatterns.com/) (EIP).
|
||||
|
||||
For example; if your are looking for an answer on how to wire a **Service Activator** to a **Channel** or how to apply a **Gateway** to your message exchange or how to get started with using the **Mail** or **XML** module etc., this would be the right place to find a good sample.
|
||||
@@ -3,15 +3,15 @@ Spring Integration - AMQP Sample
|
||||
|
||||
# Overview
|
||||
|
||||
This sample demonstrates basic functionality of the **Spring Integration AMQP Adapter**, which uses the [Advanced Message Queuing Protocol](http://www.amqp.org/) (AMQP) to send and retrieve messages. As AMQP Broker implementation the sample uses [RabbitMQ](http://www.rabbitmq.com/).
|
||||
This sample demonstrates basic functionality of the **Spring Integration AMQP Adapter**, which uses the [Advanced Message Queuing Protocol](https://www.amqp.org/) (AMQP) to send and retrieve messages. As AMQP Broker implementation the sample uses [RabbitMQ](https://www.rabbitmq.com/).
|
||||
|
||||
Once the application is started, you enter some text on the command prompt and a message containing that entered text is dispatched to the AMQP queue. In return that message is retrieved by Spring Integration and then printed to the console.
|
||||
|
||||
> 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/html/#amqp](https://docs.spring.io/spring-integration/reference/html/#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)
|
||||
|
||||
@@ -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=========================================================" );
|
||||
|
||||
|
||||
@@ -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=========================================================" );
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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=========================================================" );
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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=========================================================" );
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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=========================================================");
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ As you can see from the example below, the configuration of MongoDb Inbound Chan
|
||||
<int:poller fixed-rate="60000" max-messages-per-poll="1"/>
|
||||
</int-mongodb:inbound-channel-adapter>
|
||||
|
||||
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/reference/html/#mongodb-inbound-channel-adapter](https://docs.spring.io/spring-integration/reference/html/#mongodb-inbound-channel-adapter).
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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/html/#amqp](https://docs.spring.io/spring-integration/reference/html/#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
|
||||
|
||||
@@ -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=========================================================" );
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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=========================================================");
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -85,7 +85,7 @@ public class WeatherMarshaller implements Marshaller, Unmarshaller, Initializing
|
||||
|
||||
public void marshal(Object zip, Result result) throws IOException,
|
||||
XmlMappingException {
|
||||
String xmlString = "<weat:GetCityWeatherByZIP xmlns:weat=\"http://ws.cdyne.com/WeatherWS/\">" +
|
||||
String xmlString = "<weat:GetCityWeatherByZIP xmlns:weat=\"https://ws.cdyne.com/WeatherWS/\">" +
|
||||
" <weat:ZIP>" + zip + "</weat:ZIP>" +
|
||||
"</weat:GetCityWeatherByZIP>";
|
||||
try {
|
||||
@@ -125,6 +125,6 @@ public class WeatherMarshaller implements Marshaller, Unmarshaller, Initializing
|
||||
}
|
||||
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
namespacePrefixes.put("p", "http://ws.cdyne.com/WeatherWS/");
|
||||
namespacePrefixes.put("p", "https://ws.cdyne.com/WeatherWS/");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
[OAuth]: https://en.wikipedia.org/wiki/OAuth
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -12,4 +12,4 @@ To use the *Gateway*, you can run the tests that are located within the **src/te
|
||||
</SOAP-ENV:Body>
|
||||
</SOAP-ENV:Envelope>
|
||||
|
||||
[Spring Web Services]: http://www.springsource.org/spring-web-services
|
||||
[Spring Web Services]: https://spring.io/projects/spring-ws
|
||||
@@ -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:
|
||||
|
||||
````
|
||||
<?xml version="1.0" encoding="UTF-8"?><FahrenheitToCelsiusResponse xmlns="http://tempuri.org/"><FahrenheitToCelsiusResult>32.2222222222222</FahrenheitToCelsiusResult></FahrenheitToCelsiusResponse>````
|
||||
<?xml version="1.0" encoding="UTF-8"?><FahrenheitToCelsiusResponse xmlns="https://www.bing.com/"><FahrenheitToCelsiusResult>32.2222222222222</FahrenheitToCelsiusResult></FahrenheitToCelsiusResponse>````
|
||||
|
||||
## 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
|
||||
|
||||
@@ -39,7 +39,7 @@ public class WebServiceDemoTestApp {
|
||||
|
||||
// Compose the XML message according to the server's schema
|
||||
String requestXml =
|
||||
"<FahrenheitToCelsius xmlns=\"http://www.w3schools.com/xml/\">" +
|
||||
"<FahrenheitToCelsius xmlns=\"https://www.w3schools.com/xml/\">" +
|
||||
"<Fahrenheit>90.0</Fahrenheit>" +
|
||||
"</FahrenheitToCelsius>";
|
||||
|
||||
|
||||
@@ -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:
|
||||
</bb:order>
|
||||
</bb:bigBooksOrder>
|
||||
|
||||
[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
|
||||
|
||||
@@ -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
|
||||
[Google Talk]: https://www.google.com/talk/
|
||||
[Extensible Messaging and Presence Protocol]: https://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol
|
||||
Reference in New Issue
Block a user