I have not used that plugin myself, please be sure to reach out via the
user list for geoserver questions.
There is of course commercial support, many organizations (including my
employer) are reachable for one on one support: http://geoserver.org/support


One tip I can offer is to find the code in geoserver github repository, and
look in the pom.xml to see if a developer or company is associated with the
work. You may also look at the history to see if specific groups have a
knowledge of the codebase. This is very good research to do when choosing
commercial support.

In this case
https://github.com/geoserver/geoserver/tree/main/src/community/jms-cluster
is a community module, so it is being shared in the hopes of collaboration
with other developers such as yourself. You may also wish to look at the
test cases for a working example of how to configure.
--
Jody Garnett


On Wed, 24 Nov 2021 at 02:56, Gianni Contino <contino.gia...@gmail.com>
wrote:

> Hi Jody,
> I assume you are the development manager of the notification plugin for
> geoserver, so I have a question for you, if you can help me.
> The plugin is great and I was able to make it work with RabbitMQ as
> fanout,
> but I'm experiencing an issue just as I want messages to be sent to a
> topic on *ActiveMQ*.
>
> This XML setting works well with RabbitMQ and sends a message to queue
> "changes" on "exchange1"
>
> <notificator>
>       <queueSize>1000</queueSize>
>               <processorThreads>10</processorThreads>
>               <messageFilter>type='Data'</messageFilter>
>               <genericProcessor>
>                       <fanoutSender>
>                               <username>guest</username>
>                               <password>guest</password>
>                               <host>localhost</host>
>                               <port>5672</port>
>                               <virtualHost>/</virtualHost>
>                               <exchangeName>exchange1</exchangeName>
>                               <routingKey>changes</routingKey>
>                       </fanoutSender>
>       </genericProcessor></notificator>
>
> Instead for *Apache ActiveMQ *I'm trying to make geoserver send message to a 
> topic named "topic.geoserver", so I replaced <fanoutSender> with 
> <*topicSender*> and I filled others like this:
>
> <notificator>
>       <queueSize>1000</queueSize>
>               <processorThreads>10</processorThreads>
>               <messageFilter>type='Data'</messageFilter>
>               <genericProcessor>
>                       <*topicSender*>
>                               <username>admin</username>
>                               <password>admin</password>
>                               <host>localhost</host>
>                               <port>5672</port>
>                               <virtualHost>/</virtualHost>
>                               <exchangeName>topic.geoserver</exchangeName>
>                               <routingKey>topic.geoserver</routingKey>
>                       </*topicSender*>
>               </genericProcessor>
> </notificator>
>
> But it doesn't send message to AMQP server,
>
> it raises an error as follows:
>
> 24 nov 11:41:15 ERROR [geoserver.notification] -
> java.lang.NullPointerException
>         at 
> org.geoserver.notification.common.DefaultNotificationProcessor.process(DefaultNotificationProcessor.java:38)
>         at 
> org.geoserver.notification.MessageProcessor$WorkerThread.run(MessageProcessor.java:80)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base/java.lang.Thread.run(Thread.java:829)
>
>
> Probably I'm not setting the XML in the correct way. Can you help me to solve 
> this issue?
>
> Thanx very much,
>
> Regards,
>
> Gianni
>
>
>
>
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to