Ramesh Mohan Reddy

0

votes
0

answer
2

views

HapiJS sending log messages to an HTTP point

We are using good-http to send messages using 'server.log('info', 'test message')'. This messages displays on the console but not sent to our http end point. When we debugged good-http we found out that only 'request.log(...)' based invocations reach Wreck.request line that's placed within good-htt...
Ramesh Mohan Reddy
2

votes
1

answer
660

views

Set response headers

I need to set some response headers within server.onPreHandler ext method. There are 2 scenarios, where I need this happen when user sends an API request to my route end point. 1) In success scenario, I need to set headers and let process continue further down life cycle 2) In error scenario (where...
Ramesh Mohan Reddy
1

votes
2

answer
1.8k

views

How to delay consuming messages in Apache Camel from ActiveMQ

I have a requirement where I need to throttle by shaping (queuing) inbound traffic when client app sends more than 1000 requests in a 5 sec time span. The solution I followed is: I have a camel:throttle setting max requests to 1000 and timespan to 5 sec. When threshold is exceeded I am catching thr...
1

votes
1

answer
1.3k

views

Getting docker daemon not running error

I am trying to get docker working on my sys However, not able to Steps to reproduce the issue that I am facing: Installed EPEL on 6.5 RHEL Installed docker-io Able to run 'docker' command When running 'docker run -i -t fedora /bin/bash' command using without root, getting below error: FATA[0000] Pos...