package beans; import java.io.IOException; import org.apache.camel.Exchange; public class throwIOException { /** * @throws IOException */ public static void helloExample(String message, Exchange exchange) throws IOException { throw new IOException("An IOException has been caught"); } }
System.out.println("Message consumed: "+ exchange.getIn().getHeader("CamelFileName"));
このページまたはコンテンツに、タイポ、ステップの省略、技術的エラーなどの問題が見つかった場合は、お知らせください。改善に役立たせていただきます。