INTEXT-22 - Polishing
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user