Hi,
I’m validating for my customer correlation interaction of Camunda 8. There I found something that is not according to my understand of the spec.
Maybe my understand of the spec is incorrect, therefore posting here.
Case:
- Start a clean camunda8 cluster with camunda-distributions/docker-compose/versions/camunda-8.7 at main · camunda/camunda-distributions · GitHub
- Don’t deploy any process. So no process deploy.
- publish a message, e.g.
zeebeClient.newPublishMessageCommand()
.messageName("moneyReceived")
.correlationKey(correlationMessage.correlationKey)
.variables(Map.ofEntries(
Map.entry("amount", (Object) 12.5),
Map.entry("currency", "USD"),
))
.send()
.thenAccept(x -> log.info("correlation placed with zeebe cluster. MessageKey={}", x.getMessageKey()))
.exceptionally(e -> {
log.error("cannot correlate message. {}", e.getMessage());
throw new RuntimeException("cannot correlate message", e);
});
I always get a success message even as there is no process instance waiting (not even any deploy).
According to Zeebe API RPCs | Camunda 8 Docs I would have expected some error.
Is my expectation correct or incorrect?