$bin>./xd-shell
Welcome to the Spring XD shell. For assistance hit TAB or type "help".
xd:>stream create --name httpStream --definition "http | file"
xd:>tap create --name httpTap --definition "tap httpStream | counter"
xd:>http post --target http://localhost:9000 --data "helloworld"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class CoreConfig { | |
@Bean | |
public OrderService createService(OrdersRepository repo) { | |
return new OrderEventHandler(repo); | |
} | |
@Bean | |
public OrdersRepository createRepo() { | |
return new OrdersMemoryRepository(new HashMap<UUID, Order>()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface PersonRepository extends Repository<Person, Long> { | |
@Query("select p from Person p where p.lastname like %?1") | |
List<Person> findByLastname(String lastname); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 228a77552db58fdacd662f64455a96d7edbf1f09 (springsource/master, springsource/HEAD) | |
Author: Juergen Hoeller <jhoeller@vmware.com> | |
AuthorDate: Mon Sep 10 15:44:12 2012 +0200 | |
Commit: Juergen Hoeller <jhoeller@vmware.com> | |
CommitDate: Mon Sep 10 15:44:12 2012 +0200 | |
@Import'ed configuration classes get properly registered in case of same class name | |
Issue: SPR-9243 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spring-web/src/main/java/org/springframework/web/WebApplicationInitializer.java b/spring-web/src/main/java/org/springframework/web/WebApplicationInitializer.java | |
index 2839865..7e7c92e 100644 | |
--- a/spring-web/src/main/java/org/springframework/web/WebApplicationInitializer.java | |
+++ b/spring-web/src/main/java/org/springframework/web/WebApplicationInitializer.java | |
@@ -85,7 +85,7 @@ import javax.servlet.ServletException; | |
* are free to create and work with your Spring application contexts as necessary before | |
* injecting them into the {@code DispatcherServlet}. | |
* | |
- * <p>Most major Spring Web components has been updated to support this style of | |
+ * <p>Most major Spring Web components have been updated to support this style of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2002-2012 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2002-2012 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2002-2012 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |