Richard, I don't believe the processor name (as you see in the UI or through the REST API) is made available to the processor instance itself at this time. There is no strong/obvious case I can think of quickly to restrict access to the logical name of a ConfigurableComponent like this.
Other opinions? Thanks Joe On Sun, Feb 21, 2016 at 8:32 AM, Richard Miskin <r.p.mis...@gmail.com> wrote: > Hi, > > I’ve a use case where each instance of a custom Processor on my flow > represents a different instance of a remote system. The message produced by > my Processor needs to include the remote system name, and currently I’m using > a PropertyDescriptor to allow this to be configured. This means that the name > is effectively set twice, once to be shown in the UI and once to be used by > my Processor internally. This leads to the possibility of the two values > being inconsistent which is likely to confuse people in future. > > Is there any way I can access the name of a Processor from within an > AbstractProcessor? > > Cheers, > Richard > >