[ 
https://issues.apache.org/jira/browse/UIMA-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634879#action_12634879
 ] 

Jerry Cwiklik commented on UIMA-1140:
-------------------------------------

The latest dd2spring is not generating two required beans for remote delegates 
in the aggregate spring xml. Beans below are **not**  in the generated spring 
xml:

   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!--   JMS msg listener for return queue for:   -->
   <!-- rmtRtrnQ_InnerAggregateQueue_1_RemoteNoOp  -->
   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <bean id="asAggr_return_q_listenerID_InnerAggregateQueue_1_RemoteNoOp"
         class="org.apache.uima.adapter.jms.activemq.JmsInputChannel">
      <property name="messageHandler"
                ref="aggregate_return_metaMsgHandler_InnerAggregateQueue_1"/>
      <property name="endpointName" value=""/>
      <property name="controller" ref="asAggr_ctlr_InnerAggregateQueue_1"/>
   </bean>

   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
   <!-- JMS msg listener container for return queue for: -->
   <!--    rmtRtrnQ_InnerAggregateQueue_1_RemoteNoOp     -->
   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
   <bean id="asAggr_return_msgLsnrCntnr_InnerAggregateQueue_1_RemoteNoOp"
         
class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer">

     <!-- Define number of JMS Consumers -->
     <property name="concurrentConsumers" value="1"/>

     <!--    return Queue    -->
     <property name="destinationResolver"
                ref="destinationResolver_InnerAggregateQueue_1_RemoteNoOp"/>
      <property name="destinationName" value=""/>
      <property name="targetEndpoint" ref="endpt_RemoteNoOp_1.2"/>

     <!-- POJO to delegate JMS Messages to -->
     <property name="messageListener"
                
ref="asAggr_return_q_listenerID_InnerAggregateQueue_1_RemoteNoOp"/>
      <property name="connectionFactory" 
ref="qBroker_tcp_c__ss_localhost_c_8118"/>
   </bean>



> Embedded broker should be eliminated
> ------------------------------------
>
>                 Key: UIMA-1140
>                 URL: https://issues.apache.org/jira/browse/UIMA-1140
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Eddie Epstein
>            Assignee: Marshall Schor
>         Attachments: uimaj-as-activemq-UIMA-1140-patch.txt, 
> uimaj-as-core-UIMA-1140-patch.txt, uimaj-as-jms-UIMA-1140-patch.txt
>
>
> When an async aggregate is deployed, the request/reply queues for colocated 
> delegates use an embedded broker. After UIMA-1130 is complete, all reply 
> queues for remote delegates will be located on the same external broker 
> hosting the delegate's request queue. At that point the function of the 
> colocated broker can be replace with simple Java queues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to