Questions tagged [spring-integration-dsl]

861 questions
0
votes
1 answer

Spring integration: how to adjust all outgoing error messages

I need to adjust all error messages going back to the caller of my integration flows so that I do not leak information, no matter if they are thrown as exception or handled as asynchronous errors. I'd like to avoid defining a custom error channel on…
dschulten
  • 2,994
  • 1
  • 27
  • 44
0
votes
1 answer

Override fasterxml jackson ObjectMapper used by Spring Integration dsl

Using Transformers.toJson() my json date looks like…
heuts
  • 117
  • 1
  • 12
0
votes
1 answer

how to send message to both kafka channel and jdbc with spring integration?

We're trying to poll from a jdbc source, aggregate the messages, and then send the output of the aggregator to both a kafka stream and then a jdbcMessageHandler (to update the rows that we polled so that they are not polled again. It's actually a…
user26270
  • 6,904
  • 13
  • 62
  • 94
0
votes
1 answer

How to resolve "unsupported Message payload type"

I am a stuck... The application reads *.json files from some directory, converts them to MyObject class objects. If class has a type as "PEN" it will save as object. ObjectType is enum: public enum ObjType { FOOD, PEN, DRINK } I have next…
0
votes
1 answer

Right way to split, enrich items then send each item to another channel?

Is this the right way to split a list of items, enrich each item and then send each of those enriched items to another channel? It seems like even though each item is being enriched only the last one is sent to the output channel... Here is the…
KJQ
  • 447
  • 1
  • 7
  • 28
0
votes
1 answer

How to connect file inbound/outbound adapter and http inbound/outbound adapter or gateway in spring integration?

I am developing a service adapter which will poll directory/subdirectories files , and parse that file using spring batch , but I am not understanding flow of file adapter +spring batch parser + http adapter connectivity , please suggest me better…
0
votes
1 answer

Spring Integration - Get info from 3rd party services using replyChannel

Im new to Spring Integration, I have to get a list of online agents from 3rd party web services, i tried to configure spring integration to get it, but for the channel part, i not really sure how to configure it. My original configuration was the…
hades
  • 4,294
  • 9
  • 46
  • 71
0
votes
1 answer

Is there any facility in Spring Integration DSL for dealing with messaging abstraction instead of JMS, AMQP...?

Looks like there's no factory for building messageDrivenChannelAdapter, listenerContainers... in Spring messaging abstraction (org.springframework.messaging.*) instead of JMS (org.springframework.jms.*). I mean so you can configure messaging's…
Whimusical
  • 6,401
  • 11
  • 62
  • 105
0
votes
1 answer

spring integration java dsl - java 7 - set poller in outbound channel adapter

I am trying to migrate some of my code from XML into java dsl style (pre-java8). This is the java config i created, i am not able to figure out how to set the poller. The examples only talk about global poller, but i need to set the poller within…
Vidhya
  • 57
  • 8
0
votes
1 answer

Configure Spring Integration Aggregator via Java DSL under JDK 7

This my first time to configure Spring Integration via DSL under Java 7. As we know the Lambda expression only works under Java 8. So I refer to the examples Spring Integration Java DSL and Spring Integration Java DSL (pre Java 8): Line by line…
Flik Shen
  • 27
  • 1
  • 10
0
votes
1 answer

spring integration dsl exception handling

How do i handle the exception from the method which we use inside .handle? In the code snippet below, processMessage method throws Exception (public void processMessage(Message message) throws Exception ) in the declaration and am not sure how to…
Sasi
  • 89
  • 8
0
votes
1 answer

Spring Integration Wrong Host Header

We've been experiencing this weird problem with the request Host header being set as the application's URL. This results to the external system to not handle our requests. Here's the DEBUG log of apache of the Spring Integration application hosted…
Bob Santos
  • 55
  • 1
  • 7
0
votes
1 answer

Spring integration - passing data between flows

I have a special IntegrationFlow configured like @Bean public IntegrationFlow setupRabbitFlow() { return IntegrationFlows.from(myInputChannel) .handle((p, h) -> rabbitPublisher.publishToRabbit(p, h)) .get(); } and…
onkami
  • 8,791
  • 17
  • 90
  • 176
0
votes
1 answer

Start Spring Integration route on demand, not during context initialization

I have a Spring Integration route (made via DSL) that polls the files from a specific folder (as shown in Polling from file using Java DSL - compile error when adding Files.inboundAdapter) and sends to Rabbit. When I configured the flow as explained…
onkami
  • 8,791
  • 17
  • 90
  • 176
0
votes
1 answer

Spring Integration Java DSL: buffering the message flow and put handler in separate thread

I have a flow configured in Spring Integration DSL: // A custom channel Bean @Autowired @Qualifier(INPUT_DATA_CHANNEL) private PublishSubscribeChannel publishSubscribeChannel; //A Service that can do database recording @Autowired private…
onkami
  • 8,791
  • 17
  • 90
  • 176
1 2 3
57
58