Message not sent

Post: http://localhost:8080/engine-rest/message
{
“messageName” : “usidorAndchuntArriveMessage”,
“businessKey” : “2”
}
when i sent a message using postman its show
{
“timestamp”: “2019-11-08T09:24:53.842+0000”,
“status”: 404,
“error”: “Not Found”,
“message”: “No message available”,
“path”: “/engine-rest/message”
}
or for this i have to installed camunda plateform my system only has moduler
if not then is this api is correct??
http://localhost:8080/engine-rest/message

To install the platform just go here.
Deploying the model should then be clear.
If you have more trouble, have no fear
post any problems to this forum no matter how severe.

1 Like

it is necessary to install platform to use message event ???
i am using spring boot application to deploy model

Ah, You never mentioned you where using spring boot, in that case you just need to change the rest end point slightly.
Instead of using \engine-rest\ just use \rest\

I am using this rest end point
post:http://localhost:8080/rest/message
{
“messageName” : “usidorAndchuntArriveMessage”,
“businessKey” : “2”
}

it show not found

are you able get a response from the end point if you use
http://localhost:8080/rest/engine ?

If not, then you probably don’t have the rest api added to your spring boot application. In that case you need to add this dependency:

 <dependency>
      <groupId>org.camunda.bpm.springboot</groupId>
      <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
      <version>3.3.5</version>
    </dependency>

After adding

org.camunda.bpm.springboot
camunda-bpm-spring-boot-starter-rest
2.3.0

i dont get any response from http://localhost:8080/rest/engine

Thank u so much its working properly