Questions tagged [enterprise-integration]

Enterprise application integration (EAI) is the use of software and computer systems architectural principles to integrate a set of enterprise computer applications.

130 questions
3
votes
2 answers

What's the best way to implement a Request/Reply pattern if no temporary queues are available?

I have many instances of my client application. These clients send requests to a server application via messaging and receive a reply. Normally the reply would be sent using a temporary queue. Unfortunately I have to use the Stomp protocol which has…
Daniel Rikowski
  • 71,375
  • 57
  • 251
  • 329
3
votes
1 answer

camel dynamic uri parameter

i want to implement the content enricher pattern with camel like this: from("direct:x").enrich(dynamicUri,new MyAggregatorStrategy()).to("direct:y") The dynamic uri is based on each message which comes from the direct:x channel. So let's say there…
nils petersohn
  • 2,317
  • 2
  • 25
  • 27
3
votes
1 answer

Python Enterprise Integration Patterns Library/Framework

Is there a a Python library that implements the enterprise integration patterns in the classic Enterprise Integration Patterns book?
JC Carrillo
  • 986
  • 6
  • 17
3
votes
2 answers

Apache Camel copies all the request headers to response

I have a camel route which sets few custom headers and acts as a reverse proxy. from("servlet:///listen/path?matchOnUriPrefix=true") .setHeader(Exchange.HTTP_RESPONSE_CODE, simple("200")) .setHeader("MY_HEADER",…
Fahim Farook
  • 1,482
  • 2
  • 14
  • 38
3
votes
0 answers

Spring Integration - Failed to retrieve events for all files in directory when using WatchServiceDirectoryScanner

I am using WatchServiceDirectoryScanner/RecursiveLeafOnlyDirectoryScanner to process files in File System. Files events are generated and Message are received at defined EndPoint, but sometimes it miss to process all files in that directory. For…
3
votes
1 answer

how to dynamically register Feed Inbound Adapter in Spring Integration?

I'm trying to implement an RSS/Atom feed aggregator in spring-integration and I am primarily using the Java DSL to write my IntegrationFlow. A requirement of this aggregator is that feeds can be added / removed during runtime. That is to say, the…
3
votes
3 answers

Communicating between PHP and Java using ActiveMQ/Stomp

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…
Edward Dale
  • 29,597
  • 13
  • 90
  • 129
3
votes
2 answers

Spring Integration - Invoking Methods in Application Code

I have a outbound-channel-adapter, where the relevant configuration is shown below.
3
votes
1 answer

Translating change log into actual state in Apache Camel

I have two systems, call them A and B. When some significant object changes in A, A sends it to B through Apache Camel. However, I encountered one case, when A actually has change log of an object, while B must reflect only actual state of the…
Alexey Andreev
  • 1,980
  • 2
  • 17
  • 29
3
votes
2 answers

Camel CBRs and POJO property inspection

I have a Camel route that is routing Order instances: from("direct:start") .choice() .when(order.getProduct() == Product.Widget) .to("direct:widgets") .when(order.getProduct() == Product.Fizz) …
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
3
votes
3 answers

concurrent consumers yet ensure order

I have a JMS Queue that is populated at a very high rate ( > 100,000/sec ). It can happen that there can be multiple messages pertaining to the same entity every second as well. ( several updates to entity , with each update as a different message.…
Anand Hemmige
  • 3,593
  • 6
  • 21
  • 31
2
votes
1 answer

Camel Request/Reply Correlation

I have a CXFRS endpoint, where a request such as "GET /files/x" should return file "x" from a particular directory and then delete it. The files are output from another process and then quickly consumed via this route. Thus, it would be acceptable…
Jared O'Connor
  • 473
  • 3
  • 10
2
votes
1 answer

PayloadTypeRouter directly sending into a Transformer without channel in between?

I need to use a PayloadTypeRouter and want to send the routed message directly into a Transformer, Filter or ServiceActivator. All should be configured with Kotlin DSL (or Java DSL). Currently, a nice looking part of code looks like this: @Bean …
stk
  • 6,311
  • 11
  • 42
  • 58
2
votes
0 answers

Apache Camel Dynamic Routing Flow On Exception

I have successfully created few routes overriding configure() method of RouteBuilder. A for loop is used to generate routes on application startup, for eg: Route1: from("direct:Route1").to("netty-http:http://localhost:8080/route1) Route2:…
2
votes
1 answer

CQRS for streamed data

I am using CQRS segregation and works very well for transactional commands or request-response from one node to remote node. I have a use case where a command will be issued to a remote node, and this will result in a "stream" data (much like a…
morleyc
  • 2,169
  • 10
  • 48
  • 108
1
2
3
8 9