Skip to content

Commit c1f0831

Browse files
committed
Fix compilation failure: update multiValuePrefixes() return type to Map<String, String>
Camel 4.18.0 changed EndpointUriFactory.multiValuePrefixes() from Set<String> to Map<String, String>. Updated the generated DirectVm and Vm endpoint URI factories accordingly.
1 parent 21e4eb5 commit c1f0831

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

components/camel-directvm/src/generated/java/org/apache/camel/karaf/component/directvm/DirectVmEndpointUriFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class DirectVmEndpointUriFactory extends org.apache.camel.support.compone
2121

2222
private static final Set<String> PROPERTY_NAMES;
2323
private static final Set<String> SECRET_PROPERTY_NAMES;
24-
private static final Set<String> MULTI_VALUE_PREFIXES;
24+
private static final Map<String, String> MULTI_VALUE_PREFIXES;
2525
static {
2626
Set<String> props = new HashSet<>(10);
2727
props.add("block");
@@ -36,7 +36,7 @@ public class DirectVmEndpointUriFactory extends org.apache.camel.support.compone
3636
props.add("timeout");
3737
PROPERTY_NAMES = Collections.unmodifiableSet(props);
3838
SECRET_PROPERTY_NAMES = Collections.emptySet();
39-
MULTI_VALUE_PREFIXES = Collections.emptySet();
39+
MULTI_VALUE_PREFIXES = Collections.emptyMap();
4040
}
4141

4242
@Override
@@ -67,7 +67,7 @@ public Set<String> secretPropertyNames() {
6767
}
6868

6969
@Override
70-
public Set<String> multiValuePrefixes() {
70+
public Map<String, String> multiValuePrefixes() {
7171
return MULTI_VALUE_PREFIXES;
7272
}
7373

components/camel-vm/src/generated/java/org/apache/camel/karaf/component/vm/VmEndpointUriFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class VmEndpointUriFactory extends org.apache.camel.support.component.End
2121

2222
private static final Set<String> PROPERTY_NAMES;
2323
private static final Set<String> SECRET_PROPERTY_NAMES;
24-
private static final Set<String> MULTI_VALUE_PREFIXES;
24+
private static final Map<String, String> MULTI_VALUE_PREFIXES;
2525
static {
2626
Set<String> props = new HashSet<>(19);
2727
props.add("blockWhenFull");
@@ -45,7 +45,7 @@ public class VmEndpointUriFactory extends org.apache.camel.support.component.End
4545
props.add("waitForTaskToComplete");
4646
PROPERTY_NAMES = Collections.unmodifiableSet(props);
4747
SECRET_PROPERTY_NAMES = Collections.emptySet();
48-
MULTI_VALUE_PREFIXES = Collections.emptySet();
48+
MULTI_VALUE_PREFIXES = Collections.emptyMap();
4949
}
5050

5151
@Override
@@ -76,7 +76,7 @@ public Set<String> secretPropertyNames() {
7676
}
7777

7878
@Override
79-
public Set<String> multiValuePrefixes() {
79+
public Map<String, String> multiValuePrefixes() {
8080
return MULTI_VALUE_PREFIXES;
8181
}
8282

0 commit comments

Comments
 (0)