Questions tagged [integration-patterns]

38 questions
14
votes
2 answers

How to handle asynchronous callbacks in a synchronous way in Java?

I have an architechture related question. This is a language independent question, but as I come from Java background, it will be easier for me if someone guides me in the Java way. Basically, the middleware I'm writing communicates with a SOAP…
4
votes
1 answer

How can i use NServiceBus to do Competing Consumers

I went thought the document of nservicebus http://docs.particular.net/, but still confuse how can i do what i want to do. My aim is to have a windows service, generate tasks and put them into a queue, on the other end, i need some consumers,…
jojo
  • 13,583
  • 35
  • 90
  • 123
4
votes
1 answer

Message types : how much information should messages contain?

We are currently starting to broadcast events from one central applications to other possibly interested consumer applications, and we have different options among members of our team about how much we should put in our published messages. The…
3
votes
0 answers

Implementing a "valve-like" aggregator pattern in Apache Camel

I'm relatively new to Camel (2.24.x) and am trying to use the AggregationStrategy in the Java DSL but have a few related issues/concerns. Also please note that while I'm choosing to use the Java DSL I would also accept answers/explanations in Spring…
hotmeatballsoup
  • 385
  • 6
  • 58
  • 136
3
votes
1 answer

Is There a Name for this Pattern

I've used this pattern many times in a variety of places, usually alongside a plugin pattern. Some example ways I've used it are for messaging systems, such as creating subscribers to various types of unrelated messages. I've also used it for…
Michael
  • 1,535
  • 2
  • 17
  • 32
2
votes
1 answer

Camel ftp get file from ftp location on demand

Hi I have a scenario where I get notified through a soap service call to pick file from an remote ftp location.The ftp server details would be same but the folder name and file will be sent dynamically, How can i implement it using apache…
Ravi
  • 1,247
  • 4
  • 15
  • 35
2
votes
1 answer

Enterprise Integration Patterns and HTTP (SOAP/REST)

Hi went through Enterprise Integration Patterns by Gregor Hohpe and Bobby Woolf. http://www.eaipatterns.com/toc.html I also went through Camel and Mule's compliance with these integration patterns…
Soumya
  • 1,054
  • 2
  • 16
  • 31
1
vote
2 answers

Defining operations in REST API

I am working on a message request which will have complete request details used to create a record in destination. This integration create 3 different type of records (Order, shipment, invoice) at different times i.e. it will not always possible to…
1
vote
2 answers

When eventual consistency is a problem for one service, but no other?

I have a Sales service, which takes payments and raises events when a sale is confirmed. I have an Order service, which consumes this event and records everything that was purchased as part of the trade. Therefore this purchased information is…
1
vote
1 answer

Does groupExchanges() method still exist in apache Camel as part of the AggregationDefinition?

Is there a replacement for the groupExchanges() method; which, according to the latest documentation, should be possible however, I am unable to compile the code as the method seems to have vanished.
Dark Star1
  • 6,986
  • 16
  • 73
  • 121
1
vote
1 answer

Spring Integration File Support

In Spring Integration how to prevent two different machines to work in the same file? I know that nio library(javaSE) provides a mechanism to lock File FileLocker but how can I implement it using Spring Integration? A concrete example would be…
Eddy Bayonne
  • 2,448
  • 1
  • 17
  • 23
1
vote
3 answers

Integration pattern : how to sync processing message received from multiple systems

I am building a system that will receive messages via a Message broker (Currently, JMS) from different systems. All the messages from all the senders systems have a deviceId and there is no order in the reception of the message. For instance, system…
1
vote
0 answers

Are there any good polling strategies to use with Apache Camel?

I'm new to Apache Camel and currently reading Camel in Action. I'm building a system that will receive json messages via restful webservices and I plan to turn them into acsii files and transmit them to another system via SFTP. The problem is the…
Chow
  • 21
  • 4
1
vote
2 answers

Camel: pollEnrich and access to the Exchange

I have this route from(URI_WEBSERVICE) .convertBodyTo(Entrada.class) .process(new ProcessorTratarWS()) .pollEnrich("ftp://10.100.8.2/entradaCamel?username=USER&password=PASSWORD&delete=true&fileName=${property.archivoRespuesta}", timeOut, new…
Desenfoque
  • 804
  • 2
  • 11
  • 30
1
vote
1 answer

Java Aggregator for Akka

I am trying to implement a Java Aggregator for Akka, since it doesn't look like the Java API supports them (why not!?) Here's my best attempt thus far: // Groovy pseudo-code abstract class Aggregator extends UntypedActor { ActorRef recipient …
smeeb
  • 27,777
  • 57
  • 250
  • 447
1
2 3