camel-jetty based REST API - Jetty configuration

2020-02-04 Thread Gerald Kallas
Dear community, I'm going to create a REST API with camel-jetty. I wonder where I could find a proper example to configure the camel-jetty endpoint with alls the basic stuff (HTTPS port etc.) and especially 1. TLS protocols included/excluded 2. Cipher Suites included/excluded 3. Basic Authentic

Camel Servlet based REST API - Basic Authentication?

2020-02-04 Thread Gerald Kallas
Dear community, with some help from your folks here I've created a Camel Servlet based REST API (see below). The next step will be to add HTTP Basic Authentication (filter) to protect the Servlet Endpoint (API). I did a lot of research but wasn't able to find anything that helps. So my questi

Slow JMS Message Production and Publication

2020-02-04 Thread Singh, Inderjit
I am trying to produce and send 1000s if not 10s of thousands of messages a second to an Artemis broker. My configure method is posted below. With this code I am able to send roughly 500 messages every 1.5 seconds, but I would like to speed this up. How would I go about speeding this up to reach

Hazelcast Component question

2020-02-04 Thread Gershaw, Geoffrey A.
Hi All, The samples on the component's webpage do not include where to put the IP address/port of the hazelcast node? Could someone share how to configure it? Thanks Geoffrey A Gershaw CREDIT SUISSE SECURITIES (USA) LLC CS Sec USA LLC | Credit IT Global Loans Dev - RL, VIHE 33 6933 Louis Stephe

Re: Blueprint Rest DSL with JSonApi DataFormat

2020-02-04 Thread Alex Soto
So it looks, like Blueprint cannot assign the string class name to the JsonApiDataFormat property, which is defined as : private Class[] dataFormatTypes; ... public void setDataFormatTypes(Class[] dataFormatTypes) { this.dataFormatTypes = dataFormatTypes; } How would you specify an a

Re: Blueprint Rest DSL with JSonApi DataFormat

2020-02-04 Thread Alex Soto
Tried this: Produces error: Error binding property (dataFormatTypes=org.my.class.here) with name: dataFormatTypes on bean: org.apache.camel.component.jsonapi.JsonApiDataFormat@409e7690 with value: org.my.class.here Best regards, Alex soto > On Feb 4, 2020, at 10

Blueprint Rest DSL with JSonApi DataFormat

2020-02-04 Thread Alex Soto
Hello, I am trying to use the JSonApi data format with Camel Rest DSL. There are not examples, as far as I know. So I am configuring it like this:

Re: REST API - Basic Authentication?

2020-02-04 Thread Gerald Kallas - mailbox.org
Tx JB. At the moment I decided to register a servlet to re-use the global Jetty configuration. So where I can find the filter stuff? For best practices .. 1. better to use servlet or camel-jetty? 2. one servlet for multiple APIs or one dedicated servlet for every API? Best - Gerald > Am 04.0