camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edoardo Causarano <edoardo.causar...@gmail.com>
Subject [ CAMEL-10466 ] - Advice on contribution
Date Sat, 19 Nov 2016 17:12:36 GMT
Hi all,

I’m fairly new to the Camel ML (although I’ve used the software before) and
I’ve just joined the dev ML to get some help/guidance on contributing some
changes to the Dropbox component.

I’d like to know something about:

1. What to do with consumers returning no data, how can I signal that
downstream? So far I’m adding an empty collection in the body but this
doesn’t really work since downstream needs to be aware of this.

Is there a special header to instruct the exchange there is no content and
so forth?

Can I use Optional in the body? What other Java 8 idioms can I introduce?

2. Backwards compatibility: there are some issues with the headers
generated by the component which I'd like to address. This would probably
break backwards compatibility so what's the recommended way to go forward?
Is there a way to at least deprecate the headers?

3. Testing: Dropbox doesn't provide a mock of its service. How would you go
with testing the code? Any example you can suggest?


Best,
Edoardo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message