Questions tagged [integration-patterns]

38 questions
1
vote
1 answer

Camel normalizer bean not registered

I'm trying to implement a normalizer the way it's written here: http://camel.apache.org/normalizer.html I'm getting this exception: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for : normalizer My .configure() in the…
Green Fireman
  • 617
  • 1
  • 11
  • 27
1
vote
2 answers

Infinite loop in Apache Camel

I need to create a route, which periodically calls some process with a small delay between iterations. When I look at documentation for looping: The Loop allows for processing a message a number of times, possibly in a different way for each…
1
vote
1 answer

Camel EIP to filter duplicates

I have a Camel route that dequeues a message off a queue, sends it to a bean for processing, then enqueues the message back onto a different queue. I am trying to eliminate "duplicate messages" on the 2nd queue. Does Camel have any endpoints,…
AdjustingForInflation
  • 1,571
  • 2
  • 26
  • 50
1
vote
2 answers

How to build pipes-and-filters eip pattern with apache-camel

I'm trying to do a PoC in order to implement the pipes and filters eip pattern with Apache Camel. From Camel documentation, I'm assuming that each filter must be implemented as an Endpoint ("With Camel you can split your processing across multiple…
Bob Rivers
  • 5,261
  • 6
  • 47
  • 59
0
votes
0 answers

Enterprise Application Integration Styles in 2023?

As per Enterprise Integration Patterns book written in 2003: Following four Integration styles has been mentioned: 1. File Transfer — One application writes a file that another later reads. The applications need to agree on the filename and…
0
votes
1 answer

AWS lambda enrich / modify input object

Usually you need to do something with InputPath, ResultPath and OutputPath to process your data. But sometimes you need something as simple as modifying a property in your input object, like camel do with Message EIP or Enricher EIP Is there an…
Mike
  • 20,010
  • 25
  • 97
  • 140
0
votes
1 answer

Apache Camel - Dead Letter Channel: apply comparison after dequeuing

I'm having some issues trying to figure out the solution for this problem: I need to implement a DLC on Apache Camel, though when message are dequeued from the dead letter queue I have on ActiveMQ, every single one of them has to be compared with…
Genaro Guida
  • 23
  • 1
  • 5
0
votes
1 answer

Message Router Use Case

I am new to Messaging and Integration. As I am trying to understand how Apache Camel makes EIP easy, Message Router caught my attention to a specific scenario where it consumes a message from one queue and transfers to some other queue based on a…
VNN456
  • 137
  • 8
0
votes
1 answer

Do Camel Splitters preserve exchange body after they execute?

Java 8 and Apache Camel 2.19.5 here. I have the following bean processors: @Component("foobarResolver") public class FoobarResolver { public List resolve(Fizzbuzz fizzbuzz) { List foobars = new ArrayList(); // Use…
hotmeatballsoup
  • 385
  • 6
  • 58
  • 136
0
votes
2 answers

WatchEventType.DELETE doesn't seem to work

what I would like to do is to track the files removed and apply certain logic around this (get the id and update the entities). I've found that we can pass a list of watch events inside the channel adapter including…
hdmiimdh
  • 384
  • 6
  • 19
0
votes
1 answer

choose overloaded method in service activator (Spring Integration)

I defined a serviceActivator : In SampleImpl, There are two overloaded method of remove : public Object remove(Object payload) { //some code ... …
Hamid
  • 153
  • 1
  • 2
  • 9
0
votes
0 answers

Connect two versions of one services

Business drives me crazy. They want us to connect one application to two versions of the same service. Both versions of the service differe in some properties. In an ideal world it should only be a configuration change to use the one or the other…
0
votes
1 answer

custom spring integration outbound gateway implementation

How to specify service implementation for outbound gateway in Spring Integration? If outbound gateways are for bidirectional communication and generally used to provide integration with external systems and service activators are for local service…
zacheusz
  • 8,750
  • 3
  • 36
  • 60
0
votes
1 answer

Camel - which pattern to use in order to complete xml with values from other services

I have an xml similar to the following which has some element composed by an url. That url is another webservice which contains another xml. What I need to do is completing my xml with information from the webservice, and I would like to achieve…
ddelizia
  • 1,571
  • 5
  • 30
  • 54
0
votes
1 answer

joinTransaction has been called on a resource-local EntityManager in ApacheCamel

I am new to apache camel and I am testing camel-jpa to poll from table and display records Following is main class EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("LoanServicePU"); CamelContext…
ImranRazaKhan
  • 1,955
  • 5
  • 33
  • 74