[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: SimpleString in Core API and User land

timfox do-not-reply at jboss.com
Mon May 19 09:46:16 EDT 2008


"jmesnil" wrote : Just a few thoughts related to the introduction of SimpleString.
  | 
  | I find it cumbersome to use SimpleString when creating our Core objects (Session, Producers). I'd prefer to have our API expressed using regular String and wrap internally to a SimpleString rather than ask our users to do the wrapping.
  | 

We could certainly provide overloaded methods that take standard Strings

anonymous wrote : 
  | Like wise, I wonder if we shouldn't keep using plain Strings for everything coming from User land (e.g. JMS Text & Map message, headers & properties) to avoid any encoding issues.
  | 

Can you be more specific about what encoding issues?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151768#4151768

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151768



More information about the jboss-dev-forums mailing list