[Fiware-tech-help] IBM Proton CEP - Unable to receive REST events from Consumer

Chris Paton chrispaton2005 at gmail.com
Mon Dec 1 01:22:13 CET 2014


Hi all!

I have defined the folllowing REST Uri:
http://localhost:8000/ReceiveDbDownEvent.

I have tested it and it is able to receive the following Json document
using a POST request:
{
  "EventId" : "5cf6427d-3138-4321-a17f-859f8205795b",
  "EventSource" : null,
  "Certainty" : 1,
  "DetectionTime" : "1417371848675",
  "OccurrenceTime" : "1417371848675",
  "ExpirationTime" : null,
  "Cost" : 0.0,
  "Annotation" : null,
  "Name" : "DbDown",
  "Chronon" : null,
  "Duration" : 0
}

This JSON document is based on the following output from the Catalina log
file:

Nov 30, 2014 6:24:08 PM com.ibm.hrl.proton.router.EventRouter
routeTimedObject
INFO: routeTimedObject: forwarding event DbDown;
OccurrenceTime=1417371848675; EventSource=; Certainty=1;
EventId=5cf6427d-3138-4321-a17f-859f8205795b; DetectionTime=1417371848675;
Duration=0; ExpirationTime=null; Cost=0.0; Annotation=; Name=DbDown;
Chronon=null;  to consumer.
..

I have also attached a screenshot of my consumer definition, for reference.

My issue, is that the event DbDown is not received at my defined Uri when
sent from the Proton instance. There doesn't seem to be any error coming
from Catalina, yet when I send the POST message myself from Postman, there
is no issue. I was wondering if there is something I may be missing or
doing incorrectly that you may be able to help me with?

With many thanks,

Chris Paton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141201/0cb4f411/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Consumer.PNG
Type: image/png
Size: 22265 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141201/0cb4f411/attachment.png>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy