XStream - processAnnotations

Solution Verified - Updated -

Issue

I've noticed that if you use the dataformats xstream node via blueprints, you can only define aliases at class level and not variables.

To get around this, i've created my own XStreamDataFormat. This loops over the aliases and calles xstream.processAnnotations.

Is there not an inbuilt / easier way to do this? As it seems strange that i'd need to do this.

Environment

  • JBoss Fuse 6.1
  • JBoss Fuse 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content