Hi,
I have submit a bug https://issues.apache.org/jira/browse/UIMA-2111 but I
think I should have explain it here instead.
I would like to set up security for ActiveMQ.
In the project uimaj-as-activemq org.apache.uima.adapter.jms.client.
BaseUIMAAsynchronousEngine_impl.createSharedConnection(String)
The ActiveMQConnectionFactory need to know userName and password. So there
need some modification so we can passed it in the initialization context.
For the class who implement JCasAnnotator_ImplBase, you need to modify
dd2spring.xsl so the connection factory known the userName and password
too:
<bean id="{f:getQbrokerID(.)}"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="{@brokerURL}"/>
<property name="prefetchPolicy" ref="prefetchPolicy"/>
<property name="userName" value="{@userName}"/>
<property name="password" value="{@password}"/>
</bean>
You should also modified http://uima.apache.org/resourceSpecifier so the
inputQueue tag can have userName and password attribute
<inputQueue endpoint="YYYYYYYY" brokerURL="tcp://somewhere:XXXXX"
userName="system" password="manager"/>
Hope you can patch this for the futur.
Regards
Samuel Santschi
IXXO