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

jmesnil do-not-reply at jboss.com
Mon May 19 08:16:20 EDT 2008


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.

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.

wdyt?





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

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



More information about the jboss-dev-forums mailing list