[[tspace]]
== TSpace

TSpace replaces the old _TransientSpace_ as the new default in-memory Space used by jPOS components.

It's the space you get when you call `SpaceFactory.getSpace()` and can be also instantiated using the `tspace:xxx` name (i.e. `SpaceFactory.getSpace("tspace:myspace")`).

TSpace implements the LocalSpace interface (see next <<local_space_interface>>).

.Sample TSpace use
============
[source,java]
------------
import org.jpos.space.Space;
import org.jpos.space.SpaceFactory;

Space sp = SpaceFactory.getSpace();
sp.out("A", "The quick brown fox jumped over the lazy dog");
System.out.println (sp.rdp ("A"));
------------
============

