...
Code Block |
---|
|
camel.springboot.consumerTemplateCacheSize = 100
camel.springboot.producerTemplateCacheSize = 200 |
...
Auto-configured TypeConverter
Camel auto-configuration registers TypeConverter
instance named typeConverter
in the Spring context.
Code Block |
---|
|
@Component
public class InvoiceProcessor {
@Autowired
TypeConverter typeConverter;
public long parseInvoiceValue(Invoice invoice) {
String invoiceValue = invoice.grossValue();
return typeConverter.convertTo(Long.class, invoiceValue);
}
} |
Include Page |
---|
| Endpoint See Also |
---|
| Endpoint See Also |
---|
|