Is there any way to use websockets in axonIvy for some real time communication? we need a websocket server for an integration, and so far nothing has worked. Additionally, is it possible to mount custom servlets in axonIvy asked 10.10.2019 at 01:47 TareqK |
The easiest way to provide async communication in Axon.ivy is currently a REST service.
See the REST has been a good choice in the past for many customers as it does not require 'upgrade' request capabilities. Which is often a problem in real world installations where request reaches the client over front-end websevers that could apply request restrictions. Not to mention that the standard IIS integration approach, documented in the Axon.ivyEngine docs, can not use websockets. This restriction comes from the AJP protocol used between IIS and ivy. However, if you know your target installation environment well you can activate any tomcat compatible websocket servlet. To do so the servlet must be deployed registered in a web-fragemnt.jar. For an example download the 6.3 engine and examine the portal-chat-endpoint.jar within answered 10.10.2019 at 08:19 Reguel Werme... ♦♦ Hi Reguel You say that AJP will not work. What's the recommended way of integration with a front-end web server like Apache httpd or nginx? Would reverse proxy work?
(12.05.2020 at 04:06)
timorupp
1
Hi @timorupp Both mentioned alternatives should work (apache httpd + mod proxy) or nginx. While nginx seems to be more modern and is definitvely the best tested approach from our side. However, we have a demo for both integrations: https://github.com/ivy-samples/docker-samples Even so, the demos to not explicitly focus on websocket/HTTP upgrade scenarios.
(12.05.2020 at 04:21)
Reguel Werme... ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 10.10.2019 at 01:47
Seen: 1,483 times
Last updated: 12.05.2020 at 04:24