enterprise-integration

WSO2 EI 6.1.1 DOCTYPE is not allowed

大兔子大兔子 提交于 2021-02-11 14:34:52
问题 This problem is driving me mad, because many similar solutions are suggested but no one fixes it. Firstly, sending request from SoapUI goes fine. However in the insequence the same soap request shows this log: INFO {org.apache.synapse.mediators.builtin.LogMediator} - To: /services/consultarProcedimientosPorPersonasInternoPR01.consultarProcedimientosPorPersonasInternoPR01HttpsSoap11Endpoint, WSAction: urn:cji:jjj:es:pc:servicios:consultarProcedimientosPorPersonas, SOAPAction: urn:cji:jjj:es:pc

Does Akka obsolesce Camel?

强颜欢笑 提交于 2020-01-22 17:24:49
问题 My understanding of Akka is that it provides a model whereby multiple, isolated threads can communicate with each other in a highly concurrent fashion. It uses the "actor model", where each thread is an "actor" with a specific job to do. You can orchestrate which messages get passed to which actors under what conditions. I've used Camel before, and to me, I feel like it's sort of lost its luster/utility now that Akka is so mature and well documented. As I understand it, Camel is about

Communicating between PHP and Java using ActiveMQ/Stomp

跟風遠走 提交于 2020-01-04 02:42:08
问题 Background I have two services that need to communicate with each other over a message queue. One is a legacy service written in PHP and the other is in Java. Sooner than later, the PHP service will be rewritten in Java. The current way they communicate with each other is to write to a shared database, which the other service polls. This is what I'm trying to get away from and replace with a message queue. Problem The communication I'm working on right now is from the PHP service to the Java

Difference between Hub, Spoke and ESB

拈花ヽ惹草 提交于 2019-12-21 17:37:16
问题 I know theres already a good question on this, but it doesn't really answer what I'm looking for. From what I understand: 1.both are used as a central focal point between applications 2.both can use routing/mediation/transformation etc. between services/apps But the only difference i can really see is that hub and spoke typically have many different formats entering the hub(SOAP/REST/XML/JSON...) while ESB typically has a standard format(Usually just SOAP.) Also I keep reading that hub and

spring-integration-aws dynamic file download

旧巷老猫 提交于 2019-12-13 03:43:22
问题 I've a requirement to download a file from S3 based on a message content. In other words, the file to download is previously unknown, I've to search and find it at runtime. S3StreamingMessageSource doesn't seem to be a good fit because: It relies on polling where as I need to wait for the message. I can't find any way to create a S3StreamingMessageSource dynamically in the middle of a flow. gateway(IntegrationFlow) looks interesting but what I need is a gateway(Function<Message<?>,

Spring Integration - Invoking Methods in Application Code

醉酒当歌 提交于 2019-12-12 15:26:34
问题 I have a outbound-channel-adapter, where the relevant configuration is shown below. <int:outbound-channel-adapter channel="foo-fileChannel" ref="foo-handlerTarget" method="handleFeedFile"> <int:poller fixed-delay="5000" receive-timeout="1000" max-messages-per-poll="10" /> </int:outbound-channel-adapter> <int:channel id="foo-fileChannel"> <int:queue /> </int:channel> <bean id="foo-handlerTarget" class="com.abc.FooFeedHandlerImpl"> <property name="fooDescriptorFile" value="${feed.foo

File component(Apache camel) delete=true parameter not working in windows

不羁岁月 提交于 2019-12-08 09:12:27
问题 The Apache Camel File component not working properly in Windows7, where as its working in Linux without any Problem. My Requirement: After the file processing, the files must be deleted from the Directory. In Windows, because of .camelLock the files are not deleting properly. After Multiple attempts, then only Apache camel can delete the file from the Directory. If the attemt failed to delete the file from the Directory then its throwing an exception. If I have only a File in the Directory,

Difference between Hub, Spoke and ESB

折月煮酒 提交于 2019-12-04 09:36:53
I know theres already a good question on this, but it doesn't really answer what I'm looking for. From what I understand: 1.both are used as a central focal point between applications 2.both can use routing/mediation/transformation etc. between services/apps But the only difference i can really see is that hub and spoke typically have many different formats entering the hub(SOAP/REST/XML/JSON...) while ESB typically has a standard format(Usually just SOAP.) Also I keep reading that hub and spoke introduces a single point of failure compared to an ESB. So is the physical deployment the

Does Akka obsolesce Camel?

牧云@^-^@ 提交于 2019-12-04 01:35:46
My understanding of Akka is that it provides a model whereby multiple, isolated threads can communicate with each other in a highly concurrent fashion. It uses the "actor model", where each thread is an "actor" with a specific job to do. You can orchestrate which messages get passed to which actors under what conditions. I've used Camel before, and to me, I feel like it's sort of lost its luster/utility now that Akka is so mature and well documented. As I understand it, Camel is about enterprise integration, that is, integrating multiple disparate systems together, usually in some kind of

Spring Integration - Inbound vs Outbound Channel Adapters

旧城冷巷雨未停 提交于 2019-11-30 11:28:05
What is the fundamental difference between inbound and outbound channel adapters? Any examples would be very helpful. I have reviewed the Spring docs and this "directional" distinction is not clear to me. I support an application that has an outbound-channel-adapter configured, but I find the behavior counter intuitive with the outbound label. This adapter gets an external file, then brings it in to the application where we parse the file and persist the data. This is similar to this question, but I wanted to focus more generally on channel adapters, and hopefully get more feedback! Thanks!