File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
spring-integration-core/src/main/java/org/springframework/integration/dsl Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2016-2017 the original author or authors.
2
+ * Copyright 2016-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
42
42
* @author Artem Bilan
43
43
* @author Tim Ysewyn
44
44
* @author Ian Bondoc
45
+ * @author Alexis Hafner
45
46
*
46
47
* @since 5.0
47
48
*/
@@ -96,6 +97,28 @@ public EnricherSpec replyChannel(String replyChannel) {
96
97
return _this ();
97
98
}
98
99
100
+ /**
101
+ * @param errorChannel the error channel.
102
+ * @return the enricher spec.
103
+ * @see ContentEnricher#setErrorChannel(MessageChannel)
104
+ * @since 5.0.1
105
+ */
106
+ public EnricherSpec errorChannel (MessageChannel errorChannel ) {
107
+ this .handler .setErrorChannel (errorChannel );
108
+ return _this ();
109
+ }
110
+
111
+ /**
112
+ * @param errorChannel the name of the error channel bean.
113
+ * @return the enricher spec.
114
+ * @see ContentEnricher#setErrorChannelName(String)
115
+ * @since 5.0.1
116
+ */
117
+ public EnricherSpec errorChannel (String errorChannel ) {
118
+ this .handler .setErrorChannelName (errorChannel );
119
+ return _this ();
120
+ }
121
+
99
122
/**
100
123
* @param requestTimeout the requestTimeout
101
124
* @return the enricher spec.
You can’t perform that action at this time.
0 commit comments