ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Rest-api: Returning no reply from server
Date Thu, 28 Jul 2016 22:24:25 GMT
chetanvyadav wrote
> I see Jetty XML configuration to use Rest services but I am not sure how
> to start this server with required configuration. Please let me know how
> it can be achieved.

Are you asking how to provide your own XML for Jetty? If so, it can be done
like this:

ConnectorConfiguration connCfg = new ConnectorConfiguration();
connCfg.setJettyPath("/path/to/jetty.xml");

IgniteConfiguration cfg = new IgniteConfiguration();
cfg.setConnectorConfiguration(connCfg);

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Rest-api-Returning-no-reply-from-server-tp6561p6600.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message