INTEXT-22 - Polishing

This commit is contained in:
Gunnar Hillert
2012-10-01 16:11:16 -04:00
parent ec6aa137ac
commit 85bfd8c39e
12 changed files with 66 additions and 44 deletions

View File

@@ -26,7 +26,7 @@ public class SplunkInboundChannelAdapterBlockingSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkInboundChannelAdapterTests-context.xml", SplunkInboundChannelAdapterBlockingSample.class);
"SplunkInboundChannelAdapterBlockingSample-context.xml", SplunkInboundChannelAdapterBlockingSample.class);
ctx.start();
}
}

View File

@@ -27,7 +27,7 @@ public class SplunkInboundChannelAdapterExportSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkInboundChannelAdapterExportTests-context.xml", SplunkInboundChannelAdapterExportSample.class);
"SplunkInboundChannelAdapterExportSample-context.xml", SplunkInboundChannelAdapterExportSample.class);
ctx.start();
}
}

View File

@@ -26,7 +26,7 @@ public class SplunkInboundChannelAdapterNonBlockingSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkInboundChannelAdapterNonBlockingTests-context.xml",
"SplunkInboundChannelAdapterNonBlockingSample-context.xml",
SplunkInboundChannelAdapterNonBlockingSample.class);
ctx.start();
}

View File

@@ -26,7 +26,7 @@ public class SplunkInboundChannelAdapterRealtimeSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkInboundChannelAdapterRealtimeTests-context.xml", SplunkInboundChannelAdapterRealtimeSample.class);
"SplunkInboundChannelAdapterRealtimeSample-context.xml", SplunkInboundChannelAdapterRealtimeSample.class);
ctx.start();
}
}

View File

@@ -26,7 +26,7 @@ public class SplunkInboundChannelAdapterSavedSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkInboundChannelAdapterSavedTests-context.xml", SplunkInboundChannelAdapterSavedSample.class);
"SplunkInboundChannelAdapterSavedSample-context.xml", SplunkInboundChannelAdapterSavedSample.class);
ctx.start();
}
}

View File

@@ -31,7 +31,7 @@ public class SplunkOutboundChannelAdapterStreamSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkOutboundChannelAdapterStreamTests-context.xml", SplunkOutboundChannelAdapterStreamSample.class);
"SplunkOutboundChannelAdapterStreamSample-context.xml", SplunkOutboundChannelAdapterStreamSample.class);
ctx.start();
SubscribableChannel channel = ctx.getBean("outputToSplunk", SubscribableChannel.class);

View File

@@ -32,7 +32,7 @@ public class SplunkOutboundChannelAdapterSubmitSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkOutboundChannelAdapterTests-context.xml", SplunkOutboundChannelAdapterSubmitSample.class);
"SplunkOutboundChannelAdapterSubmitSample-context.xml", SplunkOutboundChannelAdapterSubmitSample.class);
ctx.start();
generateMessage(ctx);

View File

@@ -31,7 +31,7 @@ public class SplunkOutboundChannelAdapterTcpSample {
public static void main(String args[]) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"SplunkOutboundChannelAdapterTcpTests-context.xml", SplunkOutboundChannelAdapterTcpSample.class);
"SplunkOutboundChannelAdapterTcpSample-context.xml", SplunkOutboundChannelAdapterTcpSample.class);
ctx.start();
SubscribableChannel channel = ctx.getBean("outputToSplunk", SubscribableChannel.class);

View File

@@ -10,7 +10,7 @@
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
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>
<bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean"/>

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="stream.host">
ingest="stream" host="localhost">
</int-splunk:outbound-channel-adapter>
</beans>