spring-dsl

    1熱度

    2回答

    Spring Integration Java DSL Reference和Spring Batch Java Configuration文檔顯示如何使用Java Configuration for Spring Integration和Spring Batch。 但他們沒有展示如何配置Spring批處理集成。如何使用DSL配置JobLaunchingGateway? 乾杯, 緬

    1熱度

    1回答

    我想寫使用Spring集成V4的DSL的API一個簡單的信息流動,這應該是這樣的: -> in.ch -> Processing -> JmsGatewayOut -> JMS_OUT_QUEUE Gateway <- out.ch <- Processing <- JmsGatewayIn <- JMS_IN_QUEUE 與請求/響應是異步的,當我注入消息通過初始網關傳遞,消

    1熱度

    1回答

    在Spring集成DSL的當前版本1.0.2我可以看到一些基本頻道中不存在像REST/HTTP,TCP/UDP,JDBC,MQTT等 剛想知道這個協議/通道是否在路線圖中,或者是否被故意排除。 PS:我可能聽起來很愚蠢,但只是想知道原因。

    2熱度

    1回答

    我正在嘗試配置Spring Batch偵聽器,以便將消息發送到Spring Integration Gateway的StepExecution事件。 以下鏈接介紹瞭如何使用XML http://docs.spring.io/spring-batch/trunk/reference/html/springBatchIntegration.html#providing-feedback-with-in

    1熱度

    1回答

    這是我的代碼片段 @Bean @ServiceActivator(inputChannel = "topicChannel", outputChannel="responseChannel") public Employee getEmpDetails() throws Exception { Expression query = new LiteralExpression("{'

    4熱度

    1回答

    我想知道在SI Java Dsl中使用serviceActivators來處理錯誤的正確方法是什麼。 我有這樣的Spring集成XML配置: <jms:message-driven-channel-adapter id="messageIn" auto-startup="false" container="messageNotificationJms" channel="

    0熱度

    1回答

    試圖創建一個非常簡單的路徑,使用Java以及Spring DSL從FTP位置進行讀取。 使用Java DSL創建的路由按預期工作。 from("{{ftp.server}}").to("file:target/download").log( "Downloaded file ${file:name} complete."); 選項: ftp://x.x.x.x:21/in?user

    0熱度

    2回答

    我想知道,如果駱駝提供任何標準聚集策略外的開箱。我一直在研究,但我只能在單元測試中找到一些。那些不能從實際的代碼中使用。我試圖將它與Apache Camel 2.12.1和Spring DSL一起使用。 特別,我在找this one: public Exchange aggregate(Exchange oldExchange, Exchange newExchange) { if (o

    3熱度

    2回答

    我無法找到輪詢入站數據的JPA源的有用示例。我知道如何在XML中做到這一點,但不知道如何在DSL中做到這一點。 簡而言之,我想要做的是定期輪詢JPA存儲庫中的記錄,然後將記錄放入將執行常規過濾/轉換/執行的流中。 親切的問候 大衛·史密斯

    0熱度

    1回答

    我想用一些路由與春天DSL駱駝。我無法將消息傳送到目的地。我知道我錯過了一些東西,請幫我弄清楚這個問題。 我已在deviceMessageRouteIdentifier標題如下 Message outMsg = exchange.getOut(); outMsg.setHeader("device_template_id","11"); outMsg.setHeader("vi