Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Setting publishDelay of the JAX RS Connector / ClassCastException #168

Open
lojo opened this issue Jun 30, 2016 · 2 comments
Open

Setting publishDelay of the JAX RS Connector / ClassCastException #168

lojo opened this issue Jun 30, 2016 · 2 comments

Comments

@lojo
Copy link

lojo commented Jun 30, 2016

Setting the publishDelay value of the JAX RS connector results in a ClassCastException in class com.eclipsesource.jaxrs.publisher.internal.Configuration in method getPublishDelay().

E.g.
karaf>config:property-set -p com.eclipsesource.jaxrs.connector publishDelay 150

results in the class cast exception mentioned above...

@BryanHunt
Copy link
Collaborator

The publisher expects the publishDelay to be a Long. I'm guessing that karaf is treating the value either as a String or Integer. This is not a problem with the publisher.

@hhoffstaette
Copy link

This is not a problem with the publisher.

Actually one could say that it is unless you start publishing metatype information. Right now the value type is not discoverable from the outside, and as such CM has no idea what to pass in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants