integration

以下是为您整理出来关于【integration】合集内容,如果觉得还不错,请帮忙转发推荐。

【integration】技术教程文章

java – Spring Integration Spring Boot Actuator Endpoints未显示【代码】

我一直在努力了解有关Spring Boot的更多信息,我想将Actuator端点添加到我的测试Spring集成/ Spring Boot项目中.但是,它是一个简单的CLI Spring集成项目 – 目前没有REST或Web服务.理想情况下,我希望在从命令行运行jar时添加使用浏览器查看端点的功能. 我一直在查看教程,我没有找到很多关于将它添加到常规项目,而不是一个Web项目. 我已经添加了依赖项(spring-boot-actuator),并且可以从jconsole中看到端点,但是我从未看到与系统上的...

java – Spring-Integration聚合器无法正常工作.【代码】

我有以下结构.<int:publish-subscribe-channel id="updateProjectRequest" /> <int:channel id="aggregate-project"/><int:service-activator input-channel="updateProjectRequest" output-channel="aggregate-project" ref="updateProjectResponseHandler" method="createFolder"/> <int:service-activator input-channel="updateProjectRequest" output-channel="aggregate-project" ref="updateProjectResponseHandler" method...

java – 在其余管道之前提交Spring-Integration事务【代码】

所以,这是我目前的设置:<int-amqp:inbound-channel-adapter channel="input-channel" queue-names="probni" message-converter="jsonMessageConverter"channel-transacted="true"transaction-manager="dataSourceTransactionManager"/> <int:chain input-channel="input-channel" output-channel="inputc1"><int:service-activator ref="h1" method="handle" /><int:service-activator ref="h2" method="handle" /><int:service-a...

java – 对通道spring-integration的预定任务响应【代码】

如何从任务传递响应:在spring-intgeration中安排到某个频道?<task:scheduled-tasks><task:scheduled ref="loadFruits" method="loadFruits" cron="0/5 * * * * *"/> </task:scheduled-tasks> <bean id="loadFruits" class="com.data.taskschedulers.LoadFruits"/> <int:channel id="outboundComplexChannel"/>现在,我可以将有关如何读取loadFruits方法的返回响应读取到通道outboundComplexChannel 如果有任何方法,请提供 谢谢解...

java – BIGQUERY – 如何使用Pentaho Data Integration(Spoon)创建连接?

我试图通过Pentaho数据集成访问BigQuery,但我没有成功. >系统:OSX El Capitan> Google BigQuery身份验证方法:使用.p12密钥的服务帐户 我已经按照本教程使用了OSXhttp://wiki.pentaho.com/display/EAI/Google+BigQuery 这就是我所做的: >我将“kettle.zip的依赖项”下载并解压缩到PDI_FOLDER / libswt / osx64>我下载并将“bqjdbc-1.4-standalone.jar”复制到PDI_FOLDER / lib>之后,我尝试使用New> Database Connection> Generic...

java – spring-batch-integration 1.2.2与spring-batch 2.2.2不兼容【代码】

我有一个春季批量项目,工作正常旧版: >春季3.1.2.RELEASE>春季批次2.1.9.RELEASE> spring-batch-integration 1.2.0.RELEASE 当我升级所有依赖项的版本时,它停止工作新版本: >春天3.2.5.RELEASE>春季批次2.2.2.RELEASE> spring-batch-integration 1.2.2.RELEASE 应用程序日志说:Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.integration.config.S...

java – Spring Integration – 入站文件端点.如何正确处理文件.【代码】

我有一个Spring集成流程如下.<int-file:inbound-channel-adapter id="filesIn"directory="file:${incomingDir}" filename-pattern="*.txt" prevent-duplicates="true"><int:poller id="poller" fixed-delay="5000"/></int-file:inbound-channel-adapter><int:splitter input-channel="filesIn" ref="filesSplitterService"method="splitFilesToReportContent"output-channel="reportProcessIn"/><int:channel id="reportProcessIn"...

java – 使用randomUUID的Spring Integration enrichHeader【代码】

我是Spring Integration的新手,使用Java 7,在迁移到Spring集成DSL之前我有这个xml配置,我的应用程序正在努力丰富带有随机UUID生成的监控ID的标头(这是为了关联请求和以后在日志中搜索的响应,也许这可以用不同的方式完成,不知道):<int:chain input-channel="requestChannel" output-channel="responseChannel"> <int:header-enricher><int:header name="translator-monitoringId" expression="T(java.util.UUID).randomUUID()"...

java – Spring metro integration cvc-complex-type.2.4.c:匹配的通配符是strict,但是找不到元素’wss:binding’的声明【代码】

我尝试将地铁网络服务与春天融为一体.但是我在applicationContext.xml中遇到错误<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ws="http://jax-ws.dev.java.net/spring/core"xmlns:wss="http://jax-ws.dev.java.net/spring/servlet"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www...

java – Spring Hibernate Integration错误【代码】

尝试在独立应用程序中将spring与hibernate集成时,我一直收到以下错误.Exception in thread "main" org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.at org.springframework.orm.hibernate4.HibernateTemplate.checkWriteOperationA...