Details
-
Type:
extRequest
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Data
-
HD-Enabler:CEP
Description
Dear Tali,
My name is Haritz and I am working with Proton. I have made a sample
definition file in which proton receives temperature reports and if it
finds 3 consecutive reports whose temperature is greater than 100ÂșC, then
it sends and ExpectedProblem event. I have three consumers. Two of them
work well (the ones that writes in a txt file), but the JMS consumer does
not work.
I have running proton on Tomcat 7.0.63. I also have running activemq 5.11.1
I put activemq-all-5.11.1.jar in tomcatDir/lib
In tomcatDir/conf/context.xml I have the following:
<?xml version='1.0' encoding='utf-8'?>
<!-- License ... -->
<Context>
<Resource name="jms/ConnectionFactory"
auth="Container"
type="org.apache.activemq.ActiveMQConnectionFactory"
description="JMS Connection Factory"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
brokerURL="tcp://localhost:61616"
brokerName="LocalActiveMQBroker"/>
<Resource
name="jms/queue/MyQueue"
auth="Container"
type="org.apache.activemq.command.ActiveMQQueue"
description="my Queue"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
physicalName="MY.TEST.FOO.QUEUE"/>
</Context>
I can't see any message in the admin page of activemq. Actually, it doesn't
create the queue if it is not created, so I guess I am doing something
wrong, but I do not know what.
Please, find attached the definition file.
Thank you.
Best regards,
Haritz
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
[Created via e-mail received from: Haritz Puerto <haritzpuerto94@gmail.com>]
Activity
- All
- Comments
- History
- Activity
- Transitions
Hello Haritz,
As the Proton User Manual specifies, the Open Source version of Proton doesn't support JMS by default. The only way to support it is for you to add a custom adapter that will support it, and this is up to you to implement if you wish to do so.
Regards,
Itai Peri