A common practice is to not use the PSUtilities services directly. Rather, copy them to your own package to insulate them from future PSUtilities updates. The reason to do this is PSUtilities is not an official wM package and is not supported. They do not guarantee that subsequent releases will not change the behavior of services.
Write your own Java service that accepts a hashmap as the input object and call clear.
Or, just drop the hashmap object from the pipeline and then create a new one for whatever you’re doing.
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods