jpos / jPOS

jPOS Project
http://jpos.org
GNU Affero General Public License v3.0
616 stars 464 forks source link

There is no way to set valid `FSDChannel` attributes except by calling `setConfiguration` #618

Open alcarraz opened 2 months ago

alcarraz commented 2 months ago

It would be nice to be able to create a valid FSDChannel without needing to create a Configuration object for that.

That could be achieved by setters, or by adding a constructor that receives a charset and a schema.

I would also add an overload that doesn't receive the charset as parameter and uses the same default that FSDMsg uses, or that leaves it as null and uses the FSDMsg's charset if the channel's own charset is null.

I offer to implement this after discussion.

See this discussion