Jerry Cwiklik created UIMA-5501:
-----------------------------------

             Summary: UIMA-AS V3: Refactor code to support deploying services 
without a broker
                 Key: UIMA-5501
                 URL: https://issues.apache.org/jira/browse/UIMA-5501
             Project: UIMA
          Issue Type: Sub-task
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 3.0.0AS


Current code supports JMS-base communication between UIMA-AS client and a 
service. When both are co-located in the same process broker should not be 
needed and replaced with a "direct" communication using java based queues. 
The code refactoring is needed to support both jms and direct communication. 
The communication choice will be defined in the DD by 

   <deployment protocol="[jms,java]" provider="[activemq,java]">

If the protocol=java and provider=java, the new UIMA-AS will use direct 
communication(java) between client and a service. If the protocol=jms and 
provider=activemq, the code will function as it currently does using AMQ for 
transport between client and a service.

The DDs should use a placeholder ${Protocol} and ${Provider} to simplify 
deployment and promote reuse. Except for the DD changes, the user code should 
not be impacted by this change as most of it is internal. The code will 
instantiate appropriate builder class which would create components necessary 
to support communication model chosen in the DD.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to