Hello Eric,
Thanks. Is it possible to declare both Error and Failure writer
implementations in single plugin ? It looks each need its own plugin.json.
But I find it unnecessary as they both similar purpose and creating
multiple plugins only makes additional deployment step.
Regards
Balu
On Mon, Jan 23, 2017 at 2:52 PM, Eric Wittmann <eric.wittmann(a)redhat.com>
wrote:
It's definitely just a documentation mistake. I'll get it
corrected.
Thanks!
-Eric
On Mon, Jan 23, 2017 at 5:23 AM, Balu Sadhasivam <sbalu27(a)gmail.com>
wrote:
> Hello,
> I can see in the developer guide
> <
http://www.apiman.io/latest/developer-guide.html> that to custom
> generate IPolicyErrorWriter, one can extend using below option
>
> 4.5.3.2.6. io.apiman.gateway.engine.IPolicyErrorWriter Example
> Configuration
>
>
apiman-gateway.writers.policy-error=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.FooPolicyErrorWriterImpl
>
>
> But the code base defines the error writer to be loaded from below
> property.
>
> GatewayConfigPropertiesERROR_WRITER_CLASS =
> "apiman-gateway.writers.error";
>
> Is this case of mistake in documentation ? Does there exists more than
> one error writer API for policy and separately for other components ?
>
>
> regards
> Balu
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/apiman-user
>
>