INTEXT-23 - Incorrect enum comparison

This commit is contained in:
Jarred Li
2012-10-02 22:17:17 +08:00
committed by Gunnar Hillert
parent 47c347f36a
commit 987a35efae
26 changed files with 42 additions and 52 deletions

View File

@@ -11,7 +11,7 @@
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
<context:component-scan base-package="org.springframework.integration"></context:component-scan>
<context:component-scan base-package="org.springframework.integration.splunk"></context:component-scan>
<bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean"/>
<int-splunk:server id="splunkServer" host="10.112.127.51" port="8089" userName="admin" password="password" owner="admin"/>

View File

@@ -16,7 +16,7 @@
<int-splunk:inbound-channel-adapter id="splunkInboundChannelAdapter"
auto-startup="true" search="search spring:example"
splunk-server-ref="splunkServer"
channel="inputFromSplunk" mode="blocking" initEarliestTime="-1d">
channel="inputFromSplunk" mode="BLOCKING" initEarliestTime="-1d">
<int:poller fixed-rate="5" time-unit="SECONDS"/>
</int-splunk:inbound-channel-adapter>

View File

@@ -15,7 +15,7 @@
<int-splunk:inbound-channel-adapter id="splunkInboundChannelAdapter"
auto-startup="true" search="search spring:example" splunk-server-ref="splunkServer" channel="inputFromSplunk"
mode="export" earliestTime="-5d" latestTime="now" initEarliestTime="-1d">
mode="EXPORT" earliestTime="-5d" latestTime="now" initEarliestTime="-1d">
<int:poller fixed-rate="5" time-unit="SECONDS"/>
</int-splunk:inbound-channel-adapter>

View File

@@ -15,7 +15,7 @@
<int-splunk:inbound-channel-adapter id="splunkInboundChannelAdapter"
auto-startup="true" search="search spring:example" splunk-server-ref="splunkServer" channel="inputFromSplunk"
mode="normal" earliestTime="-5d" latestTime="now" initEarliestTime="-1d">
mode="NORMAL" earliestTime="-5d" latestTime="now" initEarliestTime="-1d">
<int:poller fixed-rate="5" time-unit="SECONDS"/>
</int-splunk:inbound-channel-adapter>

View File

@@ -15,7 +15,7 @@
<int-splunk:inbound-channel-adapter id="splunkInboundChannelAdapter"
auto-startup="true" search="search spring:example" splunk-server-ref="splunkServer" channel="inputFromSplunk"
mode="realtime" earliestTime="-5s" latestTime="rt" initEarliestTime="-1d">
mode="REALTIME" earliestTime="-5s" latestTime="rt" initEarliestTime="-1d">
<int:poller fixed-rate="5" time-unit="SECONDS"/>
</int-splunk:inbound-channel-adapter>

View File

@@ -15,7 +15,7 @@
<int-splunk:inbound-channel-adapter id="splunkInboundChannelAdapter"
auto-startup="true" savedSearch="test" splunk-server-ref="splunkServer" channel="inputFromSplunk"
mode="saved" earliestTime="-5d" latestTime="now" initEarliestTime="-1d">
mode="SAVEDSEARCH" earliestTime="-5d" latestTime="now" initEarliestTime="-1d">
<int:poller fixed-rate="5" time-unit="SECONDS"/>
</int-splunk:inbound-channel-adapter>

View File

@@ -14,7 +14,7 @@
<int-splunk:outbound-channel-adapter
id="splunkOutboundChannelAdapter" auto-startup="true" order="1"
channel="outputToSplunk" splunk-server-ref="splunkServer"
ingest="stream" host="localhost">
ingest="STREAM" host="localhost">
</int-splunk:outbound-channel-adapter>
</beans>

View File

@@ -15,7 +15,7 @@
id="splunkOutboundChannelAdapter" auto-startup="true" order="1"
channel="outputToSplunkWithMessageStore" splunk-server-ref="splunkServer"
pool-server-connection="true" sourceType="spring-integration" source="example5"
ingest="submit" host="test.host">
ingest="SUBMIT" host="test.host">
<int:poller fixed-rate="5" time-unit="SECONDS">
<int:transactional transaction-manager="txManager"
isolation="DEFAULT" propagation="REQUIRED" />

View File

@@ -14,7 +14,7 @@
<int-splunk:outbound-channel-adapter
id="splunkOutboundChannelAdapter" auto-startup="true" order="1"
channel="outputToSplunk" splunk-server-ref="splunkServer"
ingest="tcp" tcpPort="9999">
ingest="TCP" tcpPort="9999">
</int-splunk:outbound-channel-adapter>