Package org.springframework.integration.splunk.entity

Examples of org.springframework.integration.splunk.entity.SplunkData


        "SplunkOutboundChannelAdapterTcpSample-context.xml", SplunkOutboundChannelAdapterTcpSample.class);
    ctx.start();

    SubscribableChannel channel = ctx.getBean("outputToSplunk", SubscribableChannel.class);

    SplunkData data = new SplunkData("spring", "spring:example");
    data.setCommonDesc("description");

    Message<SplunkData> msg = MessageBuilder.withPayload(data).build();
    channel.send(msg);

View Full Code Here


        "SplunkOutboundChannelAdapterStreamSample-context.xml", SplunkOutboundChannelAdapterStreamSample.class);
    ctx.start();

    SubscribableChannel channel = ctx.getBean("outputToSplunk", SubscribableChannel.class);

    SplunkData data = new SplunkData("spring", "spring:example");
    data.setCommonDesc("description");

    Message<SplunkData> msg = MessageBuilder.withPayload(data).build();
    channel.send(msg);

View Full Code Here

  }

  private static void generateMessage(ClassPathXmlApplicationContext ctx) {
    QueueChannel channel = ctx.getBean("outputToSplunkWithMessageStore", QueueChannel.class);

    SplunkData data = new SplunkData("spring", "spring:example");
    data.setCommonDesc("description");

    Message<SplunkData> msg = MessageBuilder.withPayload(data).build();
    channel.send(msg);
    msg = MessageBuilder.withPayload(data).build();
    channel.send(msg);
View Full Code Here

TOP

Related Classes of org.springframework.integration.splunk.entity.SplunkData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.