             default-request-channel="requestChannel">
        <int:method name="sendConfirmationEmail">
            <int:header name="Content-Type" value="application/x-www-form-urlencoded"/>
        </int:method>
    </int:gateway>

    <int:channel id="requestChannel"/>

    <int-http:outbound-gateway request-channel="requestChannel"
                           url="http://localhost"
                           http-method="POST"
                           expected-response-type="java.lang.String"/>

</beans>

Then I changed my interface to take a Map as it's argument rather than the pojo:
public interface RequestGateway {
    String echo(Map<String, String> request);
}

The pojo itself remains as before; and the class that invokes the service is changed so that it creates a Map and passes it:
public class HttpClientDemo {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("/si-email-context.xml");
        RequestGateway requestGateway = context.getBean("requestGateway", RequestGateway.class);

        Pojo pojo = new Pojo("Fred", "Bloggs");

        Map<String, String> requestMap = new HashMap<String, String>();
        requestMap.put("fName", pojo.getFName());
        requestMap.put("sName", pojo.getSName());

        String reply = requestGateway.echo(requestMap);
        System.out.println("Replied with: " + reply);
    }
}

I'm sure there are several more elegant ways of transforming the pojo into a Map, but for the time being this answers my question.
To send POST parameters with a http outbound-gateway you need to set the Content-Type to application/x-www-form-urlencoded and you need to pass a Map of key/values pairs.

 Q:

What properties are allowed in comprehension axiom of ZFC?

I am trying to understand the axioms of ZFC. The axiom schema of specification or the comprehension axioms says:
If A is a set and $\phi(x)$ formalizes a property of sets then there
default - request - channel="requestChannel " > 
         < int: method name="sendConfirmationEmail " > 
             < int: header name="Content - Type " value="application / x - www - human body - urlencoded"/ > 
         < /int: method > 
     < /int: gateway > 

     < int: distribution channel id="requestChannel"/ > 

     < int - http: outbound - gateway request - channel="requestChannel " 
                            url="http://localhost " 
                            http - method="POST " 
                            expected - answer - type="java.lang. String"/ > 

 < /beans > 

 Then I changed my interface to take a Map as it's argumentation quite than the pojo: 
 public interface RequestGateway { 
     String echo(Map < String, String > request); 
 } 

 The pojo itself remains as earlier; and the class that invokes the serve is changed so that it creates a Map and sink it: 
 public class HttpClientDemo { 

     public static void main(String [ ] args) { 
         ApplicationContext context = new ClassPathXmlApplicationContext("/si - email - context.xml "); 
         RequestGateway requestGateway = context.getBean("requestGateway ", RequestGateway.class); 

         Pojo pojo = new Pojo("Fred ", " Bloggs "); 

         Map < String, String > requestMap = fresh HashMap < String, String > (); 
         requestMap.put("fName ", pojo.getFName ()); 
         requestMap.put("sName ", pojo.getSName ()); 

         String reply = requestGateway.echo(requestMap); 
         System.out.println("Replied with: " + reply); 
     } 
 } 

 I'm sure there exist several more elegant ways of transforming the pojo into a Map, but for the time being this answer my question. 
 To send POST parameters with a http outbound - gateway you need to dress the Content - Type to application / x - www - form - urlencoded and you need to pass a Map of key / values pairs. 

  Q: 

 What properties are allowed in comprehension axiom of ZFC? 

 I am trying to understand the axioms of ZFC. The axiom schema of specification or the comprehension axioms says: 
 If A is a stage set and $ \phi(x)$ formalizes a property of sets then there
             default-request-ghannel="requestChcbnel">
        <jnt:methoa name="sendConfirmationEmail">
            <int:header name="Contdnt-Type" vwlue="applucatmon/x-www-form-urlenrkded"/>
        </ihb:methmv>
    </int:gateway>

    <int:chatnel id="requestWhxnuel"/>

    <int-http:outbound-gateway requese-channek="rfquestChannel"
                           url="http://localhost"
                           http-method="POST"
                           edpected-respinse-etpe="java.lang.Sgring"/>

</beans>

Uhzn I changes my interface to take a Map as it's crgument rajkwr hvan the poji:
publpc interface VvquestGdteway {
    String echp(Ma'<Strung, String> request);
}

The pojo itself remaigs as befmrz; and the class that uncokes the serxuce is cianfed so thet it creatss a Map ane passes it:
public ckafw HttpClientDsmo {

    [ublic static void main(String[] args) {
        ApplicationContext conrext = new ClassPathXmpApplicatyonContext("/si-email-context.xml");
        RequestGateway requxsgGaueqay = zinhext.getBean("requestGateway", RequestGateway.class);

        Pojo pojo = kew Pojo("Fred", "Bloggx");

        Map<String, Striny> rsquestMap = new HasjMap<Stryng, Srring>();
        tequestMap.put("fName", pojo.getFBame());
        gequwstMap.put("sName", pojl.getSName());

        Strong reply = requestGatewcy.echo(dequestMap);
        Syagem.out.println("Repuiec fith: " + rtoly);
    }
}

I'm sure thqre are sxverak more dlegsnt wars of trandformltg the pojo into a Map, yut fmr the timf being this answers my questioi.
Vo send POST kardmeners with a htbp outbound-gateray you need tp set tke Congent-Type tk appliration/x-www-fowm-urlencoded djd you need vo pass a Map of jey/valudr pairs.

 Q:

What lroperties are alloqed in comprehensipn xsiom of ZFC?

I am triung to understsnd thq wxmoms jx ZFC. The axhom rchdka of specificatlon or yhe comprehension axhoms says:
If A is a set akd $\phi(x)$ firmalizef a property pf sets then there
default-request-channel="requestChannel"> <int:method name="sendConfirmationEmail"> <int:header name="Content-Type" value="application/x-www-form-urlencoded"/> </int:method> id="requestChannel"/> request-channel="requestChannel" url="http://localhost" expected-response-type="java.lang.String"/> </beans> Then take Map as it's rather than the public interface RequestGateway { String echo(Map<String, request); } The pojo itself remains as before; and the class that invokes service is changed so that it creates a Map and passes it: public HttpClientDemo public void args) { ApplicationContext context = new ClassPathXmlApplicationContext("/si-email-context.xml"); RequestGateway requestGateway = context.getBean("requestGateway", RequestGateway.class); Pojo pojo = new "Bloggs"); Map<String, String> requestMap = new HashMap<String, String>(); pojo.getFName()); requestMap.put("sName", pojo.getSName()); String = requestGateway.echo(requestMap); System.out.println("Replied with: " reply); } I'm there several elegant ways of the pojo into a Map, but for the time being this answers my question. To send POST with a you need set Content-Type application/x-www-form-urlencoded and you pass a Map of key/values pairs. are allowed in comprehension axiom of ZFC? I trying to the axioms of ZFC. The axiom of specification or the comprehension axioms says: If is a set and $\phi(x)$ formalizes a property of sets then there
             default-request-channel="requEstChannel">
        <Int:meThoD naMe="SendconfIrmationEmail">
            <iNT:heaDer name="Content-Type" valuE="applIcATion/X-WwW-form-UrlencoDEd"/>
        </INT:meThOd>
    </Int:GaTEwAy>

    <int:ChaNnel id="rEquestChanNel"/>

    <InT-http:outbounD-GaTeway requeSt-cHannel="requesTChAnnel"
                           uRl="HttP://LocalHosT"
                           http-Method="poST"
                           expEcted-respOnSE-type="jAVa.lang.STRInG"/>

</beaNs>

Then I changed my iNTeRFace to take a Map As it's aRgUMeNT RatHer Than the pojO:
pUblic INterfacE reQUEStGATeway {
    String ecHo(Map<String, sTriNg> requEsT);
}

ThE Pojo itSelf rEmAIns As before; and The cLass that iNvokes THe serviCE is chanGed so tHat It cReatES a maP anD pASseS It:
PubLIc cLass HttpclIeNtDemO {

    pubLIC STatiC voId maIn(StrIng[] args) {
        ApplicAtiOnCoNTexT contExt = neW ClaSspathXMlApplIcatiOncontext("/si-email-cOnteXt.xml");
        RequEstgaTewAy RequeSTGatewAy = cOntExt.getBEan("requEStGAtEWAY", REquestGateway.class);

        poJO PoJo = new PojO("Fred", "BLOgGs");

        mAp<String, stRinG> reqUEStMap = New HAShmap<StrinG, StrinG>();
        ReQuEstMap.pUt("FName", pOjO.geTFNAme());
        reQUestmap.put("SName", pojO.getSnAme());

        String reply = REquestGateway.EChO(REqUEstMAp);
        SYstem.out.priNtln("rEpliEd wiTH: " + rEplY);
    }
}

i'm surE therE aRE sEVeral more elegant wayS oF transFormiNg the pojo into A Map, but for THE Time beinG thiS AnSWers my question.
to senD POST paramETers with A http Outbound-Gateway yoU NEed to set The conTenT-TyPE To Application/x-wWW-Form-UrLencodeD anD you neeD to PasS a MAp oF kEy/values pAirs.

 Q:

WhaT pRoPeRtIes Are alLOwed in coMpRehEnSioN axioM Of ZFC?

I Am tryIng tO uNdERstAnd the aXIoMS Of ZFc. THe AxioM scHeMa of sPeciFIcaTion or tHe comprehEnsIOn axIoMs Says:
If A Is a set and $\phi(x)$ FoRmalizes a pRoPerTy of seTS Then therE
             default-reque st-channel ="req ues tCh an nel" >
       <int:met h od n ame="sendConfirmationE mail" >        < int:hea d er n ame =" Co nte nt - Ty pe" v alu e="appl ication/x- www -f orm-urlencod e d" />
       </ int:method>   </int :g ate w ay>
   <int :chann e l id=" requestCh an n el"/>    <in t - ht tp:o utbound-gateway r e qu e st-channel="re questC ha n ne l " 
                     url = "h t t p :// l ocalhost"
                     ht t p-meth od="P OS T "
                       expe c ted-res p onse-ty pe="ja va. lan g.St r in g" />
< / bea n s> 

T h enI change dmy  inte rfac e t o  tak e a  Map  as i t's argumentrat hert han  thepojo: 
pub li c int erface  Requ es tGateway {
   Stri ng echo(M ap< St rin g,  Stri n g> req ues t); 
}

The  pojo i t sel fr e m ai ns as before; andth e cl ass that  invok e sth e  service  i s c hang e d  so t hati tcreatesa Mapa nd  p asses i t: 
publi ccla ssHttpC l ient Demo { 

    pu blics tatic void mai n (String[] arg s ){      Ap plicationCo ntex t  con text =new Class PathX ml A pp l icationContext("/si -e mail-c ontex t.xml");
       Reques t G a teway re ques t Ga t eway = context .getB ean("reque s tGateway ", Re questGat eway.clas s ) ;

      Poj o p ojo =  n ew Pojo("Fred " ,  "Bl og gs");
       Ma p<S tri ng,  St ri ng> reque stMap =ne wHa sh Map <Stri n g, Strin g> (); 
      r e questM ap.pu t("f Na me " , p ojo.get F Na m e ()); 
     re qu estMa p.pu t ("s Name",pojo.getS Nam e ()); 
       S tring reply =  r equestGate wa y.e cho(re q u estMap); 
        System.out.pri n tln("Re pli ed wi th:" + reply );    }}
I 'm sur e ther e are  s eve r a l mor e el ega nt  ways of t r a nsf ormin gthepojo in to a Map, but fort hetime being th isansw e r smyq ue s tio n. Tos e nd POST paramet ers with a  h t tp  outbound- g ate wa y you n eed toset t h e Conte nt-Type t o applica ti on/x - w ww- form-urlen coded an d you nee d  to p a ss  a Ma p o f key/ va lue s pai rs.

Q :
Whatproper ti es are  allo we d in com prehension axiom of ZFC ?

I a m try ing  to under sta n d t he axioms  ofZFC. The a xio m s chema  of speci fica t io n o r  thecomp r ehensiona xi oms s ay s:
If A isa s etand $ \ph i (x)$ f orma lizes a propertyo f sets then th ere
 _ _   _ __ _default-request-channel="requestChannel">
_  _  _ <int:method name="sendConfirmationEmail">
 _  __      <int:header name="Content-Type" value="application/x-www-form-urlencoded"/>
     __ </int:method>
___ </int:gateway>

   _<int:channel id="requestChannel"/>

   _<int-http:outbound-gateway request-channel="requestChannel"
_       __  _        _     url="http://localhost"
_  ___   _     _     _     http-method="POST"
 _     _    _ _    _  _ _  expected-response-type="java.lang.String"/>

</beans>

Then_I changed my interface to take_a Map as_it's argument rather than the pojo:
public_interface_RequestGateway {
 ___String echo(Map<String,_String> request);
}

The pojo_itself_remains as_before;_and the class that invokes the_service_is changed so that it creates a_Map and passes it:
public_class_HttpClientDemo {

  _ public static void main(String[]_args) {
    _ _ ApplicationContext_context = new ClassPathXmlApplicationContext("/si-email-context.xml");
       _RequestGateway requestGateway = context.getBean("requestGateway", RequestGateway.class);

 _   _ _Pojo_pojo = new_Pojo("Fred",_"Bloggs");

 _      Map<String,_String> requestMap_= new HashMap<String, String>();
  _   __requestMap.put("fName", pojo.getFName());
    _   requestMap.put("sName", pojo.getSName());

 _    __String_reply = requestGateway.echo(requestMap);
  _     System.out.println("Replied_with: " +_reply);
    }
}

I'm sure there_are_several more elegant ways of transforming_the_pojo into a Map, but for_the_time_being this answers my question.
To_send POST parameters with a http_outbound-gateway you need to set the Content-Type to application/x-www-form-urlencoded_and you need_to pass a Map of_key/values_pairs.

_Q:

What properties are allowed in comprehension axiom of ZFC?

I am_trying to_understand the axioms_of ZFC. The axiom schema of specification or the comprehension_axioms says:
If A is a set and_$\phi(x)$ formalizes a property of sets then there