You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by James Carr <ja...@gmail.com> on 2009/12/16 15:57:26 UTC

Configuring a Client to send an ObjecMessage

Sorry, I accidentally sent this as a reply to another thread. ;)

On Tue, Dec 15, 2009 at 7:14 PM, James Carr <ja...@gmail.com> wrote:
> Hi All,
>
> What's a good way to use CXF to generate an ObjectMessage? I want to
> drop something like this on a topic:
>
>
> message.setStringProperty("foo", "1234");
> message.setStringProperty("bar, "blahBlah");
>
> Thanks,
> James
>
> On Tue, Dec 15, 2009 at 2:29 PM, John Klassa <jo...@klassa.com> wrote:
>>
>> How would I obtain the full query string, via annotations (in a JAX-RS setting)?
>>
>> I have a resource of the form:
>>
>>        /search?CRITERIA-GOES-HERE
>>
>> (The criteria is in a domain-specific language.)
>>
>> I don't really want to clutter this up to be:
>>
>>        /search?query=CRITERIA-GOES-HERE
>>
>> Rather, I'd like to just pick up the whole query string, and use it.
>>
>> Can this be done?  The docs have examples of pulling out query parameters by name, but I don't really have a name here -- I just want the whole string.
>>
>> Thanks!
>>
>>
>