fcrepo4/fcrepo4 — pull request #682 by acoburn (2014-12-31 16:44:24+00:00)
Title: remove trailing slash from jms baseUrl header

This addresses https://jira.duraspace.org/browse/FCREPO-1271

The JMS headers are currently sent such that the baseUrl value has a trailing slash and the identifier header has an initial slash. This makes it cumbersome for clients to compose the two values.

This PR strips off any trailing slash from the baseUrl value before sending a message to a broker.