Questions tagged [spring-expression-language]
34 questions
0
votes
1 answer
Reading property values to boolean in Kotlin/Spring with @Value
I've seen examples of how to do this in Java but I'm lacking an example in Kotlin. I want to read a property into a boolean using the @Value annotation from Spring
In my constructor I'm doing:
@Value("\${kafka.userComplexTopics:false}")
val…

Jeef
- 26,861
- 21
- 78
- 156
0
votes
2 answers
How to load sensitive value to processor dynamically from specified parameter in NiFi
I have a dataflow in which data (sample below) is fetched from the azure events hub and sent to other destinations based on destination_type. For E.g s3
Sample Example:
{
"client_name": "foo",
"destination_type": "s3",
"data": {
…

Bhavesh Patel
- 25
- 10
0
votes
1 answer
How do I conditionally inject bean depending on the jobParameters via Spring-Expression-Language or otherwise?
I am trying to create a CustomWriter that contains multiple FlatFileItemWriters.
The configuration is by xml.
I want the FlatFileItemWriters to be injected into the CustomWriter depending on values in the jobParameters; Like this-

theeGwandaru
- 400
- 2
- 14
-2
votes
2 answers
Multiple On-click Events HTML Button
I'm simply trying to create an HTML button that has two onclick events, but the issue is that the second one is not responding properly. Here is the button tag below:

CDA the Programmer
- 87
- 1
- 6
- 20