Package org.mule.api.callback

Examples of org.mule.api.callback.SourceCallback


    public MuleEvent process(final MuleEvent muleEvent) throws MuleException
    {
        final int channelId = NumberUtils.toInt(muleEvent.getMessage().getInboundProperty("nio.channel.id"));
        final String statement = muleEvent.getMessageAsString();

        esperModule.listen(statement, new SourceCallback()
        {
            public Object process(final Object payload) throws Exception
            {
                final Object xmlEvent = domToXmlTransformer.transform(payload);
                final MuleMessage muleMessage = new DefaultMuleMessage(xmlEvent,
View Full Code Here

TOP

Related Classes of org.mule.api.callback.SourceCallback

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.