2016-06-29 5 views
0

Nach dem Upgrade von JBoss Fuse 6.1 -> 6.2 und als Ergebnis Apache Camel 2,12 -> 2,15, die folgende Zusammenstellung Fehler in einem unserer kundenspezifischen Komponenten aufgetreten:Apache Camel - UriEndpoint fehlen Werte für Attribute Titel, Syntax

[ERROR] COMPILATION ERROR : 
[INFO] ------------------------------------------------------------- 
[ERROR] [redacted].java:[11] error: annotation UriEndpoint is missing values for attributes title,syntax 
[ERROR] [redacted].java:[8] error: annotation UriEndpoint is missing values for attributes title,syntax 
[INFO] 2 errors 

* -nehmen daß die [redacted] bedeutet "entfernt" oder "anonymisiert" -Teil

Antwort

2

die Lösung aus ändern war:

@UriEndpoint(scheme = "[redacted]") 

an:

@UriEndpoint(scheme = "[redacted]", syntax = "scheme:host:port/path", title = "[redacted]") 

Weitere Informationen in @UriEndpointJavaDoc

The documentation ist ziemlich rätselhaft ATM.