Java (JSON) Gateway Interface

Bug #959441 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenSRF
Fix Released
Undecided
Unassigned

Bug Description

Client API for communicating with the OpenSRF Gateway interface. (Not the translator).

From the main commit:

Supports sync and async requests. Async requests support onResponse,
onComplete, and onError handlers.

Supports a max-threads value to limit the number of actively
communicating threads over any connection. When max-threads is reached,
requests are queued and delivered as soon as there is room.

Note that since this is talking to the OpenSRF gateway and not the
translater, responses are simply collected and passed one at a time to
onResponse. They are not streamed. The goal of supporting onResponse
is to provide the same client API for both the gateway and translator.

=====

Simple test class is included.

http://git.evergreen-ils.org/?p=working/OpenSRF.git;a=shortlog;h=refs/heads/collab/berick/java-http-gateway

Tags: pullrequest
Revision history for this message
Dan Scott (denials) wrote :

Committed to master, with an additional commit to make deps.sh include the local directory in the CLASSPATH statement that it prints out.

I'd love to see maven or some more conventional Java dependency management here; wishes != horses :)

Changed in opensrf:
status: New → Fix Committed
milestone: none → 2.1.0-alpha
Dan Scott (denials)
Changed in opensrf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.